summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-12-23 10:13:26 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-12-23 10:14:02 +0000
commit78248702b0b8189d73f08c89d86f5cb7a3c6ae8c (patch)
treeeecb1544a178afa127f0a3663a1788c77d7b31d4 /testsuite
parentb37f2164c08bfc1623ca4d9cab7cc4c2ebbc2e40 (diff)
downloadhaskell-78248702b0b8189d73f08c89d86f5cb7a3c6ae8c.tar.gz
Fix ASSERT in buildPatSyn, and T10897 test
This closes Trac #10897
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/patsyn/should_compile/T10897.hs (renamed from testsuite/tests/patsyn/should_compile/T10897b.hs)2
-rw-r--r--testsuite/tests/patsyn/should_compile/all.T4
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/patsyn/should_compile/T10897b.hs b/testsuite/tests/patsyn/should_compile/T10897.hs
index 6b506b8b45..e34f146188 100644
--- a/testsuite/tests/patsyn/should_compile/T10897b.hs
+++ b/testsuite/tests/patsyn/should_compile/T10897.hs
@@ -1,4 +1,4 @@
-module B where
+module T10897 where
import T10897a
Single y = True
diff --git a/testsuite/tests/patsyn/should_compile/all.T b/testsuite/tests/patsyn/should_compile/all.T
index dd2bbf4114..e1c8243597 100644
--- a/testsuite/tests/patsyn/should_compile/all.T
+++ b/testsuite/tests/patsyn/should_compile/all.T
@@ -41,8 +41,8 @@ test('poly-export3', normal, compile, [''])
test('multi-export', normal, compile, [''])
test('export-super-class', normal, compile, [''])
test('export-record-selector', normal, compile, [''])
-test('T10897', expect_broken(10897), multi_compile, ['T10897', [
+test('T10897', normal, multi_compile, ['T10897', [
('T10897a.hs','-c')
- ,('T10897b.hs', '-c')], ''])
+ ], '-v0'])
test('T11224b', normal, compile, [''])
test('MoreEx', normal, compile, [''])