summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadt14.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/gadt/gadt14.hs')
-rw-r--r--testsuite/tests/gadt/gadt14.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/gadt14.hs b/testsuite/tests/gadt/gadt14.hs
new file mode 100644
index 0000000000..c5bdbcb5de
--- /dev/null
+++ b/testsuite/tests/gadt/gadt14.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+-- Check that trailing parens are ok in data con signatures
+
+module ShouldCompile where
+
+data T where
+ MkT :: Int -> (Int -> T)