diff options
Diffstat (limited to 'testsuite/tests/saks/should_fail/T20916.hs')
-rw-r--r-- | testsuite/tests/saks/should_fail/T20916.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_fail/T20916.hs b/testsuite/tests/saks/should_fail/T20916.hs new file mode 100644 index 0000000000..f62aa4caab --- /dev/null +++ b/testsuite/tests/saks/should_fail/T20916.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE CUSKs, EmptyDataDecls, PolyKinds, KindSignatures, StandaloneKindSignatures #-} + +module T20916 where + +import Data.Kind + +type T3 :: k -> k -> Type +data T3 (a :: p) (b :: q) = MkT +-- Should fail because p and q are bound the same kind variable |