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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
065d2c3e
Commit
065d2c3e
authored
Jan 05, 2006
by
simonpj
Browse files
[project @ 2006-01-05 13:08:14 by simonpj]
Add a nasty multiple-instantiation test
parent
839f96c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_compile/all.T
View file @
065d2c3e
...
...
@@ -209,6 +209,7 @@ test('tc196', normal, compile, [''])
test
('
tc197
',
normal
,
compile
,
[''])
test
('
tc198
',
normal
,
compile
,
[''])
test
('
tc199
',
expect_fail_if_compiler_type
('
ghc
'),
compile
,
[''])
test
('
tc200
',
normal
,
compile
,
[''])
test
('
syn-perf
',
normal
,
compile
,
['
-fcontext-stack=30
'])
test
('
LoopOfTheDay1
',
normal
,
compile
,
[''])
...
...
testsuite/tests/ghc-regress/typecheck/should_compile/tc200.hs
0 → 100644
View file @
065d2c3e
{-# OPTIONS -w -fglasgow-exts #-}
-- A nasty case that crashed GHC 6.4 with a Lint error;
-- see Note [Multiple instantiation] in TcExpr
module
ShouldCompile
where
class
C
a
where
foo
::
Eq
b
=>
b
->
a
->
Int
baz
::
Eq
a
=>
Int
->
a
->
Int
instance
C
Int
where
baz
=
foo
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