diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-07-06 11:01:38 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-06 14:08:37 -0400 |
commit | f03f0d61bebe287e0df0254c175eb2f183d697aa (patch) | |
tree | 86d951407775084fab25601b0d1a3912b800eb0e | |
parent | 987b5e7fbacd8afd2c8463c16eac28cd68f43155 (diff) | |
download | haskell-f03f0d61bebe287e0df0254c175eb2f183d697aa.tar.gz |
testsuite: Add test for #15053
Reviewers: Phyx
Reviewed By: Phyx
Subscribers: Phyx, rwbarton, thomie, carter
GHC Trac Issues: #15053
Differential Revision: https://phabricator.haskell.org/D4883
-rw-r--r-- | testsuite/tests/parser/should_fail/T15053.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/parser/should_fail/all.T | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T15053.hs b/testsuite/tests/parser/should_fail/T15053.hs new file mode 100644 index 0000000000..44154a48c0 --- /dev/null +++ b/testsuite/tests/parser/should_fail/T15053.hs @@ -0,0 +1,3 @@ +{-# OPTIONS_GHC -O1 } +" + #-} diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T index 1e71e40420..93d0e0a9dd 100644 --- a/testsuite/tests/parser/should_fail/all.T +++ b/testsuite/tests/parser/should_fail/all.T @@ -125,3 +125,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 |