Commit cb0f98d0 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #5745

parent a8f94ccf
module T5745 where
import T5745a
f :: T
f = f
T5745.hs:5:6: Not in scope: type constructor or class `T'
module T5745a( module T5745b ) where
import T5745b hiding( T )
module T5745b where
data T = MkT
data S = MkS
......@@ -96,3 +96,6 @@ test('T5533', normal, compile_fail, [''])
test('T5589', normal, compile_fail, [''])
test('Misplaced', normal, compile_fail, [''])
test('T5657', normal, compile_fail, [''])
extra_clean(['T5745a.hi', 'T5745a.o', 'T5745b.hi', 'T5745b.o']),
multimod_compile_fail, ['T5745', '-v0'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment