summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read051.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read051.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read051.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_compile/read051.hs b/testsuite/tests/parser/should_compile/read051.hs
index 3e95241862..6a4d3444e9 100644
--- a/testsuite/tests/parser/should_compile/read051.hs
+++ b/testsuite/tests/parser/should_compile/read051.hs
@@ -3,5 +3,7 @@
module Foo where
-data Foo (a :: *) = Foo a
+import Data.Kind (Type)
+
+data Foo (a :: Type) = Foo a