summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-04-05 13:48:49 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-14 08:18:37 -0400
commitdf893f6667b31946ae7995150a6a5920602f7b0b (patch)
tree420149a5169cb43277b28631dd7cf0583b29eff4 /testsuite/tests/stranal
parenta42dbc55ad1aff242c0b6b2b22188a25d588c8bf (diff)
downloadhaskell-df893f6667b31946ae7995150a6a5920602f7b0b.tar.gz
StgLint: Lint constructor applications and strict workers for arity.
This will mean T9208 when run with lint will return a lint error instead of resulting in a panic. Fixes #21117
Diffstat (limited to 'testsuite/tests/stranal')
-rw-r--r--testsuite/tests/stranal/should_compile/all.T4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/stranal/should_compile/all.T b/testsuite/tests/stranal/should_compile/all.T
index 47d2130346..e9ae6e11ba 100644
--- a/testsuite/tests/stranal/should_compile/all.T
+++ b/testsuite/tests/stranal/should_compile/all.T
@@ -30,9 +30,9 @@ test('T8743', [], multimod_compile, ['T8743', '-v0'])
test('T10482', [ grep_errmsg(r'wfoo.*Int#') ], compile, ['-dppr-cols=200 -ddump-simpl'])
test('T10482a', [ grep_errmsg(r'wf.*Int#') ], compile, ['-dppr-cols=200 -ddump-simpl'])
-test('T9208', when(compiler_debugged(), expect_broken(9208)), compile, [''])
+test('T9208', normal, compile_fail, ['-dstg-lint -O -ddebug-output'])
# T9208 fails (and should do so) if you have assertion checking on in the compiler
-# Hence the above expect_broken. See comments in the ticket
+# It now also fails with stgLint, hence the above compile_fail. See comments in the ticket
test('T10694', [ grep_errmsg(r'(Str|Cpr)=') ], compile, ['-dppr-cols=200 -ddump-simpl -dsuppress-uniques'])
test('T11770', [ check_errmsg('OneShot') ], compile, ['-ddump-simpl'])