[project @ 2000-11-03 16:23:37 by simonmar]
[ghc-hetmet.git] / ghc / tests / reader / should_compile / read019.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