Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test16292.d
blob: f513ddb1fe244b9c00e77106e8d8c1c8a576292c [
file
] [
log
] [
blame
]
/* PERMUTE_ARGS:
*/
// https://issues.dlang.org/show_bug.cgi?id=16292
void
main
()
{
goto
label
;
if
(
makeS
()[
0
])
{
label
:
}
}
S makeS
()
{
return
S
();
}
struct
S
{
int
opIndex
(
size_t
i
)
{
return
0
;
}
}