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, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test19809.d
blob
3344ef11059e119eb039366d481eb1a7a1160606
1
// https://issues.dlang.org/show_bug.cgi?id=19809
2
mixin template
Impl
(
M
...)
3
{
4
int
opCmp
(
Object o
) {
return
0
; }
5
}
6
7
class
C
8
{
9
override
10
{
11
int function
(
int
)
fp
= ((
int
x
) =>
x
);
12
mixin
Impl
!(
"x"
,
"y"
, ((
int
x
) =>
x
));
13
}
14
}