From 33d7924d21d8a65f98cf87acbcf4aba1e992fef4 Mon Sep 17 00:00:00 2001 From: sof <unknown> Date: Fri, 5 Feb 1999 14:38:05 +0000 Subject: [PATCH] [project @ 1999-02-05 14:38:03 by sof] Updates --- ghc/tests/deriving/should_compile/drv003.stderr | 9 --------- ghc/tests/deriving/should_compile/drv006.stderr | 1 - ghc/tests/deriving/should_compile/drv007.stderr | 1 - ghc/tests/deriving/should_compile/drv011.hs | 6 ++++++ 4 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 ghc/tests/deriving/should_compile/drv011.hs diff --git a/ghc/tests/deriving/should_compile/drv003.stderr b/ghc/tests/deriving/should_compile/drv003.stderr index c1e0d4781294..e69de29bb2d1 100644 --- a/ghc/tests/deriving/should_compile/drv003.stderr +++ b/ghc/tests/deriving/should_compile/drv003.stderr @@ -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/drv006.stderr b/ghc/tests/deriving/should_compile/drv006.stderr index 0af03cd0f96c..e69de29bb2d1 100644 --- a/ghc/tests/deriving/should_compile/drv006.stderr +++ b/ghc/tests/deriving/should_compile/drv006.stderr @@ -1 +0,0 @@ -NOTE: Simplifier still going after 4 iterations; baling out. diff --git a/ghc/tests/deriving/should_compile/drv007.stderr b/ghc/tests/deriving/should_compile/drv007.stderr index 0af03cd0f96c..e69de29bb2d1 100644 --- a/ghc/tests/deriving/should_compile/drv007.stderr +++ b/ghc/tests/deriving/should_compile/drv007.stderr @@ -1 +0,0 @@ -NOTE: Simplifier still going after 4 iterations; baling out. diff --git a/ghc/tests/deriving/should_compile/drv011.hs b/ghc/tests/deriving/should_compile/drv011.hs new file mode 100644 index 000000000000..bba25f5caedb --- /dev/null +++ b/ghc/tests/deriving/should_compile/drv011.hs @@ -0,0 +1,6 @@ +-- !!! deriving Enum, but not Ord. +module ShouldSucceed where + +data ABC = A | B | C deriving Enum + +x = [A ..C] -- GitLab