Commit 42035359 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add rnfail047, test for trac #924

parent 377c1bc9
module RnFail047_A (x) where
import RnFail047
x :: Int
x = 3
......@@ -48,3 +48,4 @@ test('rnfail043', skip_if_no_ghci, compile_fail, [''])
test('rnfail044', normal, compile_fail, [''])
test('rnfail045', normal, compile_fail, [''])
test('rnfail046', normal, compile_fail, [''])
test('rnfail047', normal, multimod_compile_fail, ['rnfail047', '-v0'])
-- trac #924: RnFail047_A.hs-boot exports more than RnFail047_A.hs
module RnFail047 where
import {-# SOURCE #-} RnFail047_A
v = x
RnFail047_A.y is exported by the hs-boot file, but not exported by the module
Supports Markdown
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