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
33ea1e21
Commit
33ea1e21
authored
Jul 07, 2009
by
chak@cse.unsw.edu.au.
Browse files
TFs: T2677
parent
e7d536d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_fail/T2677.hs
0 → 100644
View file @
33ea1e21
{-# LANGUAGE TypeFamilies #-}
module
T2677
where
type
family
A
x
type
instance
A
a
=
Bool
type
instance
A
Int
=
Char
testsuite/tests/ghc-regress/indexed-types/should_fail/T2677.stderr
0 → 100644
View file @
33ea1e21
T2677.hs:6:14:
Conflicting family instance declarations:
type instance A a -- Defined at T2677.hs:6:14
type instance A Int -- Defined at T2677.hs:7:14
testsuite/tests/ghc-regress/indexed-types/should_fail/all.T
View file @
33ea1e21
...
...
@@ -50,3 +50,4 @@ test('T2693', normal, compile_fail, [''])
test
('
T2888
',
normal
,
compile
,
[''])
test
('
T3092
',
normal
,
compile_fail
,
[''])
test
('
NoMatchErr
',
normal
,
compile_fail
,
[''])
test
('
T2677
',
normal
,
compile_fail
,
[''])
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