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
94314acd
Commit
94314acd
authored
Oct 31, 2005
by
simonpj
Browse files
[project @ 2005-10-31 10:15:09 by simonpj]
Another existential escape test
parent
fce14fc8
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
94314acd
...
...
@@ -136,3 +136,4 @@ test('tcfail148', normal, compile_fail, [''])
test
('
tcfail149
',
normal
,
compile_fail
,
[''])
test
('
tcfail150
',
normal
,
compile_fail
,
[''])
test
('
tcfail151
',
normal
,
compile_fail
,
[''])
test
('
tcfail152
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail152.hs
0 → 100644
View file @
94314acd
{-# OPTIONS -fglasgow-exts #-}
-- This test made Hugs fail (Oct 05) because the constraint
-- from the 'toInteger' call escaped from the pattern match
module
ShouldFail
where
data
T
=
forall
a
.
C
a
test
(
C
x
)
=
toInteger
x
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail152.stderr
0 → 100644
View file @
94314acd
\ No newline at end of file
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