[commit: testsuite] master: Remove ds061 (0e0d918)
Ian Lynagh
igloo at earth.li
Mon Feb 11 20:26:09 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/0e0d918281858e6afaff7b34f2a5d2ca61f28dae
>---------------------------------------------------------------
commit 0e0d918281858e6afaff7b34f2a5d2ca61f28dae
Author: Ian Lynagh <ian at well-typed.com>
Date: Mon Feb 11 18:32:34 2013 +0000
Remove ds061
It was a failing test for a defunct feature (NPlusKPatterns) (#851)
>---------------------------------------------------------------
tests/deSugar/should_compile/all.T | 1 -
tests/deSugar/should_compile/ds061.hs | 14 --------------
2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/tests/deSugar/should_compile/all.T b/tests/deSugar/should_compile/all.T
index 6328b30..bf3b068 100644
--- a/tests/deSugar/should_compile/all.T
+++ b/tests/deSugar/should_compile/all.T
@@ -64,7 +64,6 @@ test('ds057', normal, compile, [''])
test('ds058', normal, compile, ['-W'])
test('ds059', normal, compile, ['-W'])
test('ds060', expect_broken(322), compile, [''])
-test('ds061', expect_broken(851), compile, [''])
test('ds062', normal, compile, [''])
test('ds063', normal, compile, [''])
diff --git a/tests/deSugar/should_compile/ds061.hs b/tests/deSugar/should_compile/ds061.hs
deleted file mode 100644
index 271bbbb..0000000
--- a/tests/deSugar/should_compile/ds061.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE NPlusKPatterns #-}
-{-# OPTIONS_GHC -fwarn-incomplete-patterns -Wall #-}
-
--- Test for trac #851
--- Should not give a non-exhaustive pattern warning
-
-module ShouldCompile where
-
-import Data.Word
-
-f :: Word -> Bool
-f 0 = True
-f (_n + 1) = False
-
More information about the ghc-commits
mailing list