diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Infix.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/Infix.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Infix.hs b/testsuite/tests/indexed-types/should_compile/Infix.hs new file mode 100644 index 0000000000..dee389331b --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/Infix.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TypeFamilies, TypeOperators #-} + +-- Test infix type constructors in type families + +module Infix where + +type family x :+: y +type instance Int :+: Int = Int + |