[project @ 1998-01-26 14:39:19 by simonm]
authorsimonm <unknown>
Mon, 26 Jan 1998 14:39:19 +0000 (14:39 +0000)
committersimonm <unknown>
Mon, 26 Jan 1998 14:39:19 +0000 (14:39 +0000)
back out last commit, the real test is in drv007.hs.

ghc/tests/deriving/should_compile/drv010.hs

index 621a2ec..e681450 100644 (file)
@@ -1,4 +1,4 @@
 --!!! deriving Enum on d. type with nullary constructors
 module ShouldSucceed where
 
-data D = D1 deriving(Eq,Ord)
+data AD = A | B | C | D deriving (Enum)