diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail139.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail139.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail139.hs b/testsuite/tests/typecheck/should_fail/tcfail139.hs new file mode 100644 index 0000000000..af21c8afba --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail139.hs @@ -0,0 +1,6 @@ +-- Should be rejected by Haskell 98 + +module Foo where + +type Foo = Double +instance Bounded Foo |