summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T3101.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T3101.hs')
-rw-r--r--testsuite/tests/deriving/should_fail/T3101.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T3101.hs b/testsuite/tests/deriving/should_fail/T3101.hs
new file mode 100644
index 0000000000..134694a4fe
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/T3101.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE RankNTypes #-}
+
+module T3101 where
+
+type family F a :: *
+
+data Boom = Boom (forall a. F a)
+ deriving Show