summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-11-11 11:46:52 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-11-11 11:46:52 +0000
commit13817f06bc8065476711451307039387e3e34576 (patch)
tree478d337b77f424f8d0b0684f086d25d25540efb6 /testsuite/tests/rename
parent7cbe34f940c34bd25d58fbb115d449b1113bacc7 (diff)
downloadhaskell-13817f06bc8065476711451307039387e3e34576.tar.gz
Test Trac #9077
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_fail/T9077.hs4
-rw-r--r--testsuite/tests/rename/should_fail/T9077.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/all.T1
3 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T9077.hs b/testsuite/tests/rename/should_fail/T9077.hs
new file mode 100644
index 0000000000..d30a5ca24c
--- /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 0000000000..a3a9d49ece
--- /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 72331e7a64..f2664dc2bf 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, [''])