diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail182.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail182.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail182.hs b/testsuite/tests/typecheck/should_fail/tcfail182.hs new file mode 100644 index 0000000000..7b04df489f --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail182.hs @@ -0,0 +1,9 @@ +module Foo where + +import qualified Prelude +import Prelude hiding( Maybe ) + +data Maybe a = Foo + +f :: Prelude.Maybe a -> Int +f Foo = 3 |