diff options
-rw-r--r-- | testsuite/tests/rename/should_compile/T7167.hs | 5 | ||||
-rw-r--r-- | testsuite/tests/rename/should_compile/T7167.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/rename/should_compile/all.T | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T7167.hs b/testsuite/tests/rename/should_compile/T7167.hs new file mode 100644 index 0000000000..78e6938ef5 --- /dev/null +++ b/testsuite/tests/rename/should_compile/T7167.hs @@ -0,0 +1,5 @@ +{-# OPTIONS_GHC -fwarn-dodgy-imports #-} + +module T7167 where + +import Data.List hiding (foo) diff --git a/testsuite/tests/rename/should_compile/T7167.stderr b/testsuite/tests/rename/should_compile/T7167.stderr new file mode 100644 index 0000000000..0607529f10 --- /dev/null +++ b/testsuite/tests/rename/should_compile/T7167.stderr @@ -0,0 +1,2 @@ + +T7167.hs:5:1: Warning: Module `Data.List' does not export `foo' diff --git a/testsuite/tests/rename/should_compile/all.T b/testsuite/tests/rename/should_compile/all.T index d0d2487621..b3acb905b1 100644 --- a/testsuite/tests/rename/should_compile/all.T +++ b/testsuite/tests/rename/should_compile/all.T @@ -200,3 +200,4 @@ test('dodgy', [ extra_clean(['DodgyA.hi', 'DodgyA.o']) ], multimod_compile, ['dodgy', '-v0']) +test('T7167', normal, compile, ['']) |