summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_fail/T16756b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_fail/T16756b.hs')
-rw-r--r--testsuite/tests/saks/should_fail/T16756b.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_fail/T16756b.hs b/testsuite/tests/saks/should_fail/T16756b.hs
new file mode 100644
index 0000000000..8b71a67dad
--- /dev/null
+++ b/testsuite/tests/saks/should_fail/T16756b.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+
+module T16756b where
+
+import Data.Kind (Type)
+
+type T :: Type -> Type
+data T
+ -- We must write:
+ -- data T a
+ -- See https://gitlab.haskell.org/ghc/ghc/issues/16756#note_203567