Commit 0ad0d560 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #5867

parent 86403bf7
module T5867( f ) where
import T5867a
boo = f
bar = f
T5867.hs:4:7: Warning:
In the use of `f' (imported from T5867a):
Deprecated: "Don't use f!"
T5867.hs:5:7: Warning:
In the use of `f' (imported from T5867a):
Deprecated: "Don't use f!"
module T5867a where
{-# DEPRECATED f "Don't use f!" #-}
f x = x
......@@ -186,3 +186,6 @@ test('T5592',
extra_clean(['T5592a.hi', 'T5592a.o'])],
multimod_compile_and_run,
['T5592', '-v0'])
test('T5867',
extra_clean(['T5867a.hi', 'T5867a.o']),
multimod_compile, ['T5867', '-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