Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
4aa886d5
Commit
4aa886d5
authored
Jan 08, 2013
by
eir@cis.upenn.edu
Browse files
Add new testcase for Trac #7560.
parent
23b0bf0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_fail/T7560.hs
0 → 100644
View file @
4aa886d5
{-# LANGUAGE TypeFamilies #-}
module
T7560
where
type
family
F
a
type
instance
where
F
Int
=
Int
F
Bool
=
Bool
type
instance
where
F
Int
=
Char
F
Double
=
Double
\ No newline at end of file
testsuite/tests/indexed-types/should_fail/T7560.stderr
0 → 100644
View file @
4aa886d5
T7560.hs:8:3:
Conflicting family instance declarations:
F Int -- Defined at T7560.hs:8:3
F Int -- Defined at T7560.hs:12:3
testsuite/tests/indexed-types/should_fail/all.T
View file @
4aa886d5
...
...
@@ -94,3 +94,5 @@ test('T7354a',
run_command
,
['
$MAKE -s --no-print-directory T7354a
'])
test
('
T7536
',
normal
,
compile_fail
,
[''])
test
('
T7560
',
normal
,
compile_fail
,
[''])
\ No newline at end of file
Write
Preview
Markdown
is supported
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