summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/Simple5.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Simple5.hs')
-rw-r--r--testsuite/tests/indexed-types/should_compile/Simple5.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Simple5.hs b/testsuite/tests/indexed-types/should_compile/Simple5.hs
index ecae60d53d..d8c8bb46fb 100644
--- a/testsuite/tests/indexed-types/should_compile/Simple5.hs
+++ b/testsuite/tests/indexed-types/should_compile/Simple5.hs
@@ -2,7 +2,9 @@
module ShouldCompile where
-data family C9 a b :: *
+import Data.Kind (Type)
+
+data family C9 a b :: Type
data instance C9 Int Int = C9IntInt
data instance C9 [a] Int = C9ListInt
data instance C9 [Int] [a] = C9ListList2