summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/Gadt23_AST.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/gadt/Gadt23_AST.hs')
-rw-r--r--testsuite/tests/gadt/Gadt23_AST.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/Gadt23_AST.hs b/testsuite/tests/gadt/Gadt23_AST.hs
new file mode 100644
index 0000000000..75b07c7611
--- /dev/null
+++ b/testsuite/tests/gadt/Gadt23_AST.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs, KindSignatures #-}
+
+module Gadt23_AST where
+
+data Exp_;
+
+data AST :: * -> * -> * where
+ Var :: String -> AST Exp_ tag
+ Tag :: tag -> AST a tag -> AST a tag
+