diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn035.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn035.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn035.hs b/testsuite/tests/rename/should_compile/rn035.hs new file mode 100644 index 0000000000..3de6a9b71d --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn035.hs @@ -0,0 +1,10 @@ +-- !!! Checking what's legal in the body of a class declaration. +module ShouldCompile where + +class Foo a where { + (--<>--) :: a -> a -> Int ; + infixl 5 --<>-- ; + (--<>--) _ _ = 2 ; -- empty decl at the end. +}; + + |