diff options
Diffstat (limited to 'testsuite/tests/th/T5217.hs')
-rw-r--r-- | testsuite/tests/th/T5217.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5217.hs b/testsuite/tests/th/T5217.hs new file mode 100644 index 0000000000..9dd1f1cb3f --- /dev/null +++ b/testsuite/tests/th/T5217.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE GADTs #-}
+
+module T5217 where
+import Language.Haskell.TH
+
+$([d| data T a b where { T1 :: Int -> T Int Char
+ ; T2 :: a -> T a a
+ ; T3 :: a -> T [a] a
+ ; T4 :: a -> b -> T b [a] } |])
+
+
|