[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / rename / should_compile / rn035.hs
1 -- !!! Checking what's legal in the body of a class declaration.
2 module ShouldCompile where
3
4 class Foo a where {
5   (--<>--) :: a -> a -> Int  ;
6   infixl 5 --<>-- ;
7   (--<>--) _ _ = 2 ; -- empty decl at the end.
8 };
9
10