[commit: ghc] master: Test Trac #9077 (13817f0)
git at git.haskell.org
git at git.haskell.org
Tue Nov 11 13:10:21 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/13817f06bc8065476711451307039387e3e34576/ghc
>---------------------------------------------------------------
commit 13817f06bc8065476711451307039387e3e34576
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Nov 11 11:46:52 2014 +0000
Test Trac #9077
>---------------------------------------------------------------
13817f06bc8065476711451307039387e3e34576
testsuite/tests/rename/should_fail/T9077.hs | 4 ++++
testsuite/tests/rename/should_fail/T9077.stderr | 2 ++
testsuite/tests/rename/should_fail/all.T | 1 +
3 files changed, 7 insertions(+)
diff --git a/testsuite/tests/rename/should_fail/T9077.hs b/testsuite/tests/rename/should_fail/T9077.hs
new file mode 100644
index 0000000..d30a5ca
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T9077.hs
@@ -0,0 +1,4 @@
+module T9077 where
+
+main :: IO {}
+main = print "hello"
diff --git a/testsuite/tests/rename/should_fail/T9077.stderr b/testsuite/tests/rename/should_fail/T9077.stderr
new file mode 100644
index 0000000..a3a9d49
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T9077.stderr
@@ -0,0 +1,2 @@
+
+T9077.hs:3:12: Record syntax is illegal here: {}
diff --git a/testsuite/tests/rename/should_fail/all.T b/testsuite/tests/rename/should_fail/all.T
index 72331e7..f2664dc 100644
--- a/testsuite/tests/rename/should_fail/all.T
+++ b/testsuite/tests/rename/should_fail/all.T
@@ -118,3 +118,4 @@ test('T9156', normal, compile_fail, [''])
test('T9177', normal, compile_fail, [''])
test('T9436', normal, compile_fail, [''])
test('T9437', normal, compile_fail, [''])
+test('T9077', normal, compile_fail, [''])
More information about the ghc-commits
mailing list