summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations/StarBinderAnns.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/StarBinderAnns.hs')
-rw-r--r--testsuite/tests/ghc-api/annotations/StarBinderAnns.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/annotations/StarBinderAnns.hs b/testsuite/tests/ghc-api/annotations/StarBinderAnns.hs
new file mode 100644
index 0000000000..4b69f44d66
--- /dev/null
+++ b/testsuite/tests/ghc-api/annotations/StarBinderAnns.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE TypeOperators, TypeFamilies #-}
+{-# OPTIONS -Wno-star-is-type #-}
+
+module X (type (X.*)) where
+
+type family (*) a b where { (*) a b = Either b a }