diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2023-01-23 18:49:47 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2023-02-01 13:18:47 +0000 |
commit | 2eb49ea677cfb52610484b5a259df813de96d5ff (patch) | |
tree | 8369399fc5357f07131614a3e6e3072a90d46a7a /testsuite/tests | |
parent | 86d8874398a56ec626ed53fc89bcfe92adbc5ce4 (diff) | |
download | haskell-2eb49ea677cfb52610484b5a259df813de96d5ff.tar.gz |
Support "unusable UNPACK pragma" warning with -O0
Fixes #11270
(cherry picked from commit f83374f8649e5d8413e7ed585b0e058690c38563)
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/typecheck/should_fail/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/unboxedsums/all.T | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T index f817fd3a86..5250676032 100644 --- a/testsuite/tests/typecheck/should_compile/all.T +++ b/testsuite/tests/typecheck/should_compile/all.T @@ -377,7 +377,7 @@ test('T7147', normal, compile, ['']) test('T7171',normal, makefile_test, []) test('T7173', normal, compile, ['']) test('T7196', normal, compile, ['']) -test('T7050', normal, compile, ['-O']) +test('T7050', normal, compile, ['']) test('T7312', normal, compile, ['']) test('T7384', normal, compile, ['']) test('T7451', normal, compile, ['']) diff --git a/testsuite/tests/typecheck/should_fail/all.T b/testsuite/tests/typecheck/should_fail/all.T index 9f301bc357..f75ed73b08 100644 --- a/testsuite/tests/typecheck/should_fail/all.T +++ b/testsuite/tests/typecheck/should_fail/all.T @@ -212,7 +212,7 @@ test('T3102', normal, compile, ['']) test('T3613', normal, compile_fail, ['']) test('fd-loop', normal, compile_fail, ['']) test('T3950', normal, compile_fail, ['']) -test('T3966', normal, compile_fail, ['-O']) +test('T3966', normal, compile_fail, ['']) test('IPFail', normal, compile_fail, ['']) test('T3468', [], multimod_compile_fail, ['T3468', '-v0']) diff --git a/testsuite/tests/unboxedsums/all.T b/testsuite/tests/unboxedsums/all.T index b7df22c6b3..2c9110d722 100644 --- a/testsuite/tests/unboxedsums/all.T +++ b/testsuite/tests/unboxedsums/all.T @@ -44,7 +44,7 @@ test('unpack_sums_1', normal, compile_and_run, ['-O']) test('unpack_sums_2', normal, compile, ['-O']) test('unpack_sums_3', normal, compile_and_run, ['-O']) test('unpack_sums_4', normal, compile_and_run, ['-O']) -test('unpack_sums_5', normal, compile, ['-O']) +test('unpack_sums_5', normal, compile, ['']) test('unpack_sums_6', fragile(22504), compile_and_run, ['-O']) test('unpack_sums_7', normal, makefile_test, []) test('unpack_sums_8', normal, compile_and_run, [""]) |