[project @ 1999-02-05 14:38:03 by sof]
authorsof <unknown>
Fri, 5 Feb 1999 14:38:05 +0000 (14:38 +0000)
committersof <unknown>
Fri, 5 Feb 1999 14:38:05 +0000 (14:38 +0000)
Updates

ghc/tests/deriving/should_compile/drv003.stderr
ghc/tests/deriving/should_compile/drv006.stderr
ghc/tests/deriving/should_compile/drv007.stderr
ghc/tests/deriving/should_compile/drv011.hs [new file with mode: 0644]

index c1e0d47..e69de29 100644 (file)
@@ -1,9 +0,0 @@
-drv003.hs:15: Warning:
-    No explicit method nor default method for `=='
-    in an instance declaration for `Eq'
-drv003.hs:12: Warning:
-    No explicit method nor default method for `=='
-    in an instance declaration for `Eq'
-
diff --git a/ghc/tests/deriving/should_compile/drv011.hs b/ghc/tests/deriving/should_compile/drv011.hs
new file mode 100644 (file)
index 0000000..bba25f5
--- /dev/null
@@ -0,0 +1,6 @@
+-- !!! deriving Enum, but not Ord.
+module ShouldSucceed where
+
+data ABC = A | B | C deriving Enum
+
+x = [A ..C]