summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/all.T
diff options
context:
space:
mode:
authorroland <rsx@bluewin.ch>2018-09-04 14:09:20 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2018-09-04 14:09:20 +0200
commitdf363a646b66f4dd13d63ec70f18e427cabc8878 (patch)
tree14fa4093f8e7620f5140bd4bc1d5346bfc45021d /testsuite/tests/parser/should_fail/all.T
parentfa3143c76ac77ee96fd89559cacc089205abaa20 (diff)
downloadhaskell-df363a646b66f4dd13d63ec70f18e427cabc8878.tar.gz
Compiler panic on invalid syntax (unterminated pragma)
Summary: After a parse error in OPTIONS_GHC issue an error message instead of a compiler panic. Test Plan: make test TEST=T15053 Reviewers: Phyx, thomie, bgamari, monoidal, osa1 Reviewed By: Phyx, monoidal, osa1 Subscribers: tdammers, osa1, rwbarton, carter GHC Trac Issues: #15053 Differential Revision: https://phabricator.haskell.org/D5093
Diffstat (limited to 'testsuite/tests/parser/should_fail/all.T')
-rw-r--r--testsuite/tests/parser/should_fail/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T
index 73e817d151..8233d767f4 100644
--- a/testsuite/tests/parser/should_fail/all.T
+++ b/testsuite/tests/parser/should_fail/all.T
@@ -126,4 +126,4 @@ test('typeops_A', normal, compile_fail, [''])
test('typeops_B', normal, compile_fail, [''])
test('typeops_C', normal, compile_fail, [''])
test('typeops_D', normal, compile_fail, [''])
-test('T15053', expect_broken(15053), compile_fail, ['']) # shouldn't panic
+test('T15053', normal, compile_fail, [''])