diff options
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/warnings/should_compile/T10908.hs | 10 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/all.T | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/T10908.hs b/testsuite/tests/warnings/should_compile/T10908.hs new file mode 100644 index 0000000000..a9af541df9 --- /dev/null +++ b/testsuite/tests/warnings/should_compile/T10908.hs @@ -0,0 +1,10 @@ +{-# OPTIONS_GHC -fwarn-missing-exported-sigs #-} + +module Bug (Data.List.intercalate, x) where + +import qualified Data.List + +intercalate = True + +x :: Bool +x = intercalate diff --git a/testsuite/tests/warnings/should_compile/all.T b/testsuite/tests/warnings/should_compile/all.T index c2b8dd2274..f60468e6ca 100644 --- a/testsuite/tests/warnings/should_compile/all.T +++ b/testsuite/tests/warnings/should_compile/all.T @@ -4,6 +4,7 @@ test('T9178', extra_clean(['T9178.o', 'T9178DataType.o', 'T9178.hi', 'T9178DataType.hi']), multimod_compile, ['T9178', '-Wall']) test('T9230', normal, compile_without_flag('-fno-warn-tabs'), ['']) +test('T10908', normal, compile, ['']) test('T11077', normal, compile, ['-fwarn-missing-exported-sigs']) test('T11128', normal, compile, ['']) |