diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail176.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail176.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail176.hs b/testsuite/tests/typecheck/should_fail/tcfail176.hs new file mode 100644 index 0000000000..39f3818ede --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail176.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE GADTs #-} + +-- Newtype in GADT syntax + +module ShouldFail where + +newtype Bug a where Bug :: a -> Maybe a |