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
d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test17059.d
blob
b7eb26af86a308ca48f81055ccfc8099a607f0ca
1
mixin template
impl
()
2
{
3
alias
T
=
typeof
(
this
);
4
enum
doImplement
=
is
(
T
:
I
);
5
6
static if
(
doImplement
)
7
{}
8
}
9
10
interface
I
{}
11
class
A
:
I
{
mixin
impl
;}