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
9dea9837
Commit
9dea9837
authored
May 12, 2005
by
simonpj
Browse files
[project @ 2005-05-12 16:54:17 by simonpj]
Add rank-2 test
parent
9f765190
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_run/all.T
View file @
9dea9837
...
...
@@ -40,6 +40,7 @@ test('tcrun031', only_compiler_types(['ghc']), compile_and_run, [''])
test
('
tcrun032
',
only_compiler_types
(['
ghc
']),
compile_and_run
,
[''])
test
('
tcrun033
',
only_compiler_types
(['
ghc
']),
compile_and_run
,
[''])
test
('
tcrun034
',
only_compiler_types
(['
ghc
']),
compile_and_run
,
[''])
test
('
tcrun035
',
only_compiler_types
(['
ghc
']),
compile_and_run
,
[''])
test
('
church
',
normal
,
compile_and_run
,
[''])
test
('
testeq2
',
normal
,
compile_and_run
,
[''])
testsuite/tests/ghc-regress/typecheck/should_run/tcrun035.hs
0 → 100644
View file @
9dea9837
{-# OPTIONS -fglasgow-exts #-}
-- Tests subsumption for infix operators (in this case (.))
-- Broke GHC 6.4!
module
Main
(
main
)
where
foo
::
(
forall
m
.
Monad
m
=>
m
a
)
->
IO
a
foo
=
id
.
id
main
::
IO
()
main
=
foo
(
return
()
)
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