diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail195.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail195.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail195.hs b/testsuite/tests/typecheck/should_fail/tcfail195.hs new file mode 100644 index 0000000000..4c2408e8ba --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail195.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE RankNTypes, GADTs #-} + +module ShouldFail where + +data Foo a where + Foo :: Int -> Foo (forall a. a) |