Commit 3a262a75 authored by simonpj's avatar simonpj
Browse files

Test Trac #2901

parent 8647288e
{-# LANGUAGE DisambiguateRecordFields #-}
-- Trac #2901
module T2901 where
f = F.Foo { F.field = "" }
T2901.hs:6:4: Not in scope: data constructor `F.Foo'
T2901.hs:6:12: Not in scope: `F.field'
......@@ -69,6 +69,7 @@ test('rnfail055',
test('rn_dup', normal, compile_fail, [''])
test('T2310', normal, compile_fail, [''])
test('T2490', normal, compile_fail, [''])
test('T2901', normal, compile_fail, [''])
test('T2723',
if_compiler_lt('ghc', '6.11', expect_fail),
compile, ['']) # Warnings only
......
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