Testsuite: pass '-s --no-print-directory' to MAKE
[ghc.git] / testsuite / tests / module / mod180.hs
1 module ShouldFail where
2
3 import qualified Mod180_B as Mod180_A
4 import Mod180_B (T)
5 import Mod180_A (x)
6
7 z :: T
8 z = x
9 -- fiendishly, this error message must mention Mod180_A.T (the type
10 -- of x), but in the current scope, Mod180_A.T means something different:
11 -- due to the 'import .. as' above, Mod180_A.T actually refers to Mod180_B.T.
12 -- GHC should notice this and use a fully qualified name "main:Mod180_A.T"
13 -- in the error message.