diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/T2182ghci2.script')
-rw-r--r-- | testsuite/tests/ghci/scripts/T2182ghci2.script | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T2182ghci2.script b/testsuite/tests/ghci/scripts/T2182ghci2.script new file mode 100644 index 0000000000..7bb4791140 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T2182ghci2.script @@ -0,0 +1,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 |