Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3a262a75
Commit
3a262a75
authored
Dec 30, 2008
by
simonpj
Browse files
Test Trac
#2901
parent
8647288e
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_fail/T2901.hs
0 → 100644
View file @
3a262a75
{-# LANGUAGE DisambiguateRecordFields #-}
-- Trac #2901
module
T2901
where
f
=
F
.
Foo
{
F
.
field
=
""
}
testsuite/tests/ghc-regress/rename/should_fail/T2901.stderr
0 → 100644
View file @
3a262a75
T2901.hs:6:4: Not in scope: data constructor `F.Foo'
T2901.hs:6:12: Not in scope: `F.field'
testsuite/tests/ghc-regress/rename/should_fail/all.T
View file @
3a262a75
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment