Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test19809.d
blob: 3344ef11059e119eb039366d481eb1a7a1160606 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=19809
mixin
template
Impl
(
M
...)
{
int
opCmp
(
Object
o
)
{
return
0
;
}
}
class
C
{
override
{
int
function
(
int
)
fp
=
((
int
x
)
=>
x
);
mixin
Impl
!(
"x"
,
"y"
,
((
int
x
)
=>
x
));
}
}