summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T2182ghci2.script
blob: 7bb4791140343890af2d21cb40815d7c05260e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Warning: this test will stop working when we eliminate orphans from
-- GHC.Float.  The idea of this test is to import an external package
-- module which transitively depends on the module defining the orphan
-- instance.
:m +GHC.Types
"NO"
0.2 :: Float

:m +Prelude
"YES"
0.2 :: Float

:m -Prelude
"NO"
0.2 :: Float