Major patch to add -fwarn-redundant-constraints
[ghc.git] / testsuite / tests / module / Mod118_A.hs
1 -- re-exporting m2 outside of C(..)
2 module Mod118_A( C(m1), m2) where
3
4 class C a where
5 m1 :: a -> Int
6 m2 :: a -> Bool
7
8 instance C Int where
9 m1 _ = 1
10 m2 _ = True
11