diff options
Diffstat (limited to 'testsuite/tests/saks/should_compile/T16756a.hs')
-rw-r--r-- | testsuite/tests/saks/should_compile/T16756a.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/T16756a.hs b/testsuite/tests/saks/should_compile/T16756a.hs new file mode 100644 index 0000000000..f85c2ecbc9 --- /dev/null +++ b/testsuite/tests/saks/should_compile/T16756a.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE StandaloneKindSignatures #-} +{-# LANGUAGE TypeFamilies #-} + +module T16756a where + +import Data.Kind (Type) + +type T :: Type -> Type +data family T + -- We do /not/ need to write: + -- data family T a + -- See https://gitlab.haskell.org/ghc/ghc/issues/16756#note_203567 |