Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9e828e1dbc66ee5aa982c37e6fac276e021c545f >--------------------------------------------------------------- commit 9e828e1dbc66ee5aa982c37e6fac276e021c545f Author: Paolo Capriotti <[email protected]> Date: Thu Aug 23 13:48:53 2012 +0100 Add test for T7167. >--------------------------------------------------------------- tests/rename/should_compile/T7167.hs | 5 +++++ tests/rename/should_compile/T7167.stderr | 2 ++ tests/rename/should_compile/all.T | 1 + 3 files changed, 8 insertions(+), 0 deletions(-) diff --git a/tests/rename/should_compile/T7167.hs b/tests/rename/should_compile/T7167.hs new file mode 100644 index 0000000..78e6938 --- /dev/null +++ b/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/tests/rename/should_compile/T7167.stderr b/tests/rename/should_compile/T7167.stderr new file mode 100644 index 0000000..0607529 --- /dev/null +++ b/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/tests/rename/should_compile/all.T b/tests/rename/should_compile/all.T index d0d2487..b3acb90 100644 --- a/tests/rename/should_compile/all.T +++ b/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, ['']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
