5f7a54555accb973372a1fd84973faffa6b38262
[ghc-hetmet.git] / ghc / tests / deSugar / should_compile / ds027.hs
1 -- !!! ds027 -- simple instances
2 --
3 module Test where
4
5 data Foo = Bar | Baz
6
7 instance Eq Foo where
8   Bar == Baz = True
9   Bar /= Baz = False