diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail086.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail086.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail086.hs b/testsuite/tests/typecheck/should_fail/tcfail086.hs new file mode 100644 index 0000000000..46d330daa6 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail086.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE ExistentialQuantification #-} + +-- !!! Check that we can't derive instances of existential types +module ShouldFail where + +data Ex = forall a. Ex [a] deriving( Eq ) + |