Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5d2b8860
Commit
5d2b8860
authored
May 03, 2005
by
simonpj
Browse files
[project @ 2005-05-03 11:05:36 by simonpj]
Add a test for multiple local bindings with TH
parent
65a102be
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_fail/all.T
View file @
5d2b8860
...
...
@@ -43,3 +43,4 @@ test('rnfail040', normal, multimod_compile_fail, ['rnfail040', '-v0'])
clean
(['
Rnfail040_A.hi
',
'
Rnfail040_A.o
'])
test
('
rnfail041
',
normal
,
compile_fail
,
[''])
test
('
rnfail042
',
normal
,
compile_fail
,
[''])
test
('
rnfail043
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/rename/should_fail/rnfail043.hs
0 → 100644
View file @
5d2b8860
{-# OPTIONS -fth #-}
-- Duplicate bindings introduced one at a time with TH
module
ShouldFail
where
f
x
=
x
$
(
[
d
|
h x = x
|]
)
f
x
=
x
testsuite/tests/ghc-regress/rename/should_fail/rnfail043.stderr
0 → 100644
View file @
5d2b8860
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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