summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/ClassOperator.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/ClassOperator.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/ClassOperator.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/ClassOperator.hs b/testsuite/tests/typecheck/should_fail/ClassOperator.hs
index 6d41d113fb..922cbdb0f4 100644
--- a/testsuite/tests/typecheck/should_fail/ClassOperator.hs
+++ b/testsuite/tests/typecheck/should_fail/ClassOperator.hs
@@ -2,9 +2,11 @@
module ClassOperator where
+import Data.Kind
+
-- | Class with fixity, including associated types
class a ><> b where
- type a <>< b :: *
+ type a <>< b :: Type
data a ><< b
(>><), (<<>) :: a -> b -> ()