diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T18939_Compile.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T18939_Compile.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T18939_Compile.hs b/testsuite/tests/typecheck/should_compile/T18939_Compile.hs new file mode 100644 index 0000000000..8c2123f111 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/T18939_Compile.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE PolyKinds #-} +{-# LANGUAGE RankNTypes #-} +{-# LANGUAGE StandaloneKindSignatures #-} +{-# LANGUAGE TypeFamilies #-} +module T18939_Compile where + +import Data.Kind + +data family Hm :: forall a -> a -> Type +data instance Hm :: forall a -> a -> Type |