repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail2740.d
blob
340be5281108154be01635a715eee5980517d18f
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail2740.d(17): Error: class `fail2740.Foo` ambiguous virtual function `foo`
5
---
6
*/
7
interface
IFoo
8
{
9
int
foo
();
10
}
11
12
mixin template
MFoo
(
int
N
)
13
{
14
int
foo
() {
return
N
; }
15
}
16
17
class
Foo
:
IFoo
18
{
19
mixin
MFoo
!(
1
)
t1
;
20
mixin
MFoo
!(
2
)
t2
;
21
}