diff options
Diffstat (limited to 'testsuite/tests/warnings/should_compile/StarBinder.hs')
-rw-r--r-- | testsuite/tests/warnings/should_compile/StarBinder.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/StarBinder.hs b/testsuite/tests/warnings/should_compile/StarBinder.hs new file mode 100644 index 0000000000..09f51684ac --- /dev/null +++ b/testsuite/tests/warnings/should_compile/StarBinder.hs @@ -0,0 +1,5 @@ +{-# LANGUAGE TypeOperators, TypeFamilies #-} + +module X (type (X.*)) where + +type family (*) a b where { (*) a b = Either b a } |