Skip to content
GitLab
Menu
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
f35369ce
Commit
f35369ce
authored
Jan 30, 2007
by
simonpj
Browse files
Add test for infix type constructor
parent
bb6e9cd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
f35369ce
...
...
@@ -158,4 +158,5 @@ test('tcfail169', normal, compile_fail, [''])
test
('
tcfail170
',
normal
,
compile_fail
,
[''])
test
('
tcfail171
',
normal
,
compile_fail
,
[''])
test
('
tcfail172
',
normal
,
compile_fail
,
[''])
test
('
tcfail173
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail173.hs
0 → 100644
View file @
f35369ce
{-# OPTIONS -fglasgow-exts #-}
module
ShouldFail
where
newtype
(
f
<.>
g
)
a
=
Compose
(
f
(
g
a
))
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail173.stderr
0 → 100644
View file @
f35369ce
tcfail173.hs:5:9: Malformed head of type or class declaration
Write
Preview
Supports
Markdown
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