Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20692.d
blob: 2d67211c74d4ad927bcd6dfb35370d84cd2513fe [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20692
struct
S
()
{
void
fun
()
{
gun
(
""
);
}
void
gun
(
T
)(
T
)
{
alias
buggy
=
bug
;
}
}
alias
X
=
S
!();
void
main
()
{
X
().
gun
(
0
);
}
alias
bug
=
__traits
(
getMember
,
X
,
"fun"
);