Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
8aee8b48
Commit
8aee8b48
authored
Apr 10, 2008
by
simonpj
Browse files
Test for Trac 2205
parent
24c800cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_compile/T2205.hs
0 → 100644
View file @
8aee8b48
{-# OPTIONS_GHC -XTypeOperators #-}
-- Test fixity of type operators
-- Trac #2205
module
ShouldCompile
where
infixr
0
:->
data
a
:->
b
=
P
a
b
fst3
::
(
a
:->
(
b
:->
c
))
->
a
fst3
(
P
a
(
P
b
c
))
=
a
fst3'
::
(
a
:->
b
:->
c
)
->
a
fst3'
(
P
a
(
P
b
c
))
=
a
testsuite/tests/ghc-regress/rename/should_compile/all.T
View file @
8aee8b48
...
...
@@ -77,6 +77,7 @@ test('rn064', normal, compile, [''])
test
('
rn065
',
normal
,
multimod_compile
,
['
rn065
',
'
-v0
'])
test
('
T1972
',
if_compiler_lt
('
ghc
',
'
6.9
',
expect_fail
),
compile
,
[''])
test
('
T2205
',
normal
,
compile
,
[''])
test
('
timing001
',
normal
,
compile
,
[''])
test
('
timing002
',
normal
,
compile
,
[''])
...
...
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