Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5470b9cceae30b0aa37b685a4e650041de7bcde7

>---------------------------------------------------------------

commit 5470b9cceae30b0aa37b685a4e650041de7bcde7
Author: Simon Peyton Jones <[email protected]>
Date:   Tue Dec 20 08:21:32 2011 +0000

    Test Trac #5657

>---------------------------------------------------------------

 tests/rename/should_fail/T5657.hs     |    3 +++
 tests/rename/should_fail/T5657.stderr |    5 +++++
 tests/rename/should_fail/all.T        |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/rename/should_fail/T5657.hs 
b/tests/rename/should_fail/T5657.hs
new file mode 100644
index 0000000..efd4660
--- /dev/null
+++ b/tests/rename/should_fail/T5657.hs
@@ -0,0 +1,3 @@
+module T5657 where
+
+foo = [LT..GT]
diff --git a/tests/rename/should_fail/T5657.stderr 
b/tests/rename/should_fail/T5657.stderr
new file mode 100644
index 0000000..af6f57e
--- /dev/null
+++ b/tests/rename/should_fail/T5657.stderr
@@ -0,0 +1,5 @@
+
+T5657.hs:3:8: Not in scope: `LT..'
+
+T5657.hs:3:8:
+    A section must be enclosed in parentheses thus: (LT.. GT)
diff --git a/tests/rename/should_fail/all.T b/tests/rename/should_fail/all.T
index 385f617..1776777 100644
--- a/tests/rename/should_fail/all.T
+++ b/tests/rename/should_fail/all.T
@@ -95,3 +95,4 @@ test('T5513', normal, compile_fail, [''])
 test('T5533', normal, compile_fail, [''])
 test('T5589', normal, compile_fail, [''])
 test('Misplaced', normal, compile_fail, [''])
+test('T5657', normal, compile_fail, [''])



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to