mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
19 lines
232 B
D
19 lines
232 B
D
/* 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; }
|
|
}
|