[project @ 1997-07-31 00:05:10 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / deriving / drv005.hs
1 --!!! simple example of deriving Enum
2 --
3 module ShouldSucceed where
4
5 data Foo = Foo1 | Foo2 | Foo3 | Foo4 | Foo5 | Foo6 | Foo7 | Foo8
6          deriving Enum