From 362ee5a5c135caa32212461f4f6c5cf327c0cab1 Mon Sep 17 00:00:00 2001 From: David Terei Date: Tue, 10 Apr 2012 10:53:46 -0700 Subject: Add test to make sure flag extensions are correctly display as a unsafe reason. --- testsuite/tests/safeHaskell/safeInfered/all.T | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuite/tests/safeHaskell/safeInfered/all.T') 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, ['']) -- cgit v1.2.1