diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail082.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail082.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail082.hs b/testsuite/tests/typecheck/should_fail/tcfail082.hs new file mode 100644 index 0000000000..2d4307acb1 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail082.hs @@ -0,0 +1,9 @@ +module Main(main) where +import Data82 +import Inst82_1 +import Inst82_2 + +data Baz = Baz deriving Read + +main = print ((read "FooData")::FooData) + |