summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T11581.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/T11581.hs')
-rw-r--r--testsuite/tests/indexed-types/should_compile/T11581.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/T11581.hs b/testsuite/tests/indexed-types/should_compile/T11581.hs
index 7815a86a7e..4abd07d2c7 100644
--- a/testsuite/tests/indexed-types/should_compile/T11581.hs
+++ b/testsuite/tests/indexed-types/should_compile/T11581.hs
@@ -2,7 +2,9 @@
module T11581 where
-type family F a :: * -> *
+import Data.Kind (Type)
+
+type family F a :: Type -> Type
type family G a
type instance G [a] = F a (Int,Bool)