diff options
author | David Terei <davidterei@gmail.com> | 2012-04-10 10:53:46 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2012-04-10 10:53:46 -0700 |
commit | 362ee5a5c135caa32212461f4f6c5cf327c0cab1 (patch) | |
tree | 5545d3937b5f3e8882ca10da349b90c116b0e07a /testsuite/tests/safeHaskell/safeInfered/all.T | |
parent | d80aac9875d85ed2d93d3d5e5046db28505db0d3 (diff) | |
download | haskell-362ee5a5c135caa32212461f4f6c5cf327c0cab1.tar.gz |
Add test to make sure flag extensions are correctly display as a unsafe
reason.
Diffstat (limited to 'testsuite/tests/safeHaskell/safeInfered/all.T')
-rw-r--r-- | testsuite/tests/safeHaskell/safeInfered/all.T | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/all.T b/testsuite/tests/safeHaskell/safeInfered/all.T index a685a79b6b..dee056a614 100644 --- a/testsuite/tests/safeHaskell/safeInfered/all.T +++ b/testsuite/tests/safeHaskell/safeInfered/all.T @@ -56,6 +56,9 @@ test('UnsafeInfered11', [ extra_clean(['UnsafeInfered11_A.hi', 'UnsafeInfered11_A.o']) ], multimod_compile_fail, ['UnsafeInfered11', '']) +# test should fail as unsafe and we made warn unsafe + -Werror +test('UnsafeInfered12', normal, compile_fail, ['']) + # Mixed tests test('Mixed01', normal, compile_fail, ['']) test('Mixed02', normal, compile_fail, ['']) |