Skip to content

Commit

Permalink
Test Trac #7943
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Peyton Jones committed May 28, 2013
1 parent 083397f commit d401d27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/rename/should_fail/T7943.hs
@@ -0,0 +1,4 @@
module T7943 where

data Foo = A { bar :: String }
| B String { bar :: String }
2 changes: 2 additions & 0 deletions tests/rename/should_fail/T7943.stderr
@@ -0,0 +1,2 @@

T7943.hs:4:22: Record syntax is illegal here: {bar :: String}
1 change: 1 addition & 0 deletions tests/rename/should_fail/all.T
Expand Up @@ -109,3 +109,4 @@ test('T7338a', normal, compile_fail, [''])
test('T7454', normal, compile, [''])
test('T7906', normal, compile_fail, [''])
test('T7937', normal, compile_fail, [''])
test('T7943', normal, compile_fail, [''])

0 comments on commit d401d27

Please sign in to comment.