diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/T15740a.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/T15740a.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/T15740a.hs b/testsuite/tests/indexed-types/should_compile/T15740a.hs new file mode 100644 index 0000000000..2d79a99878 --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/T15740a.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE TypeInType, RankNTypes, TypeFamilies #-} + +module T15740a where + +import Data.Kind +import Data.Proxy + +type family F2 :: forall k. k -> Type + +-- This should succeed +type instance F2 = Proxy + |