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 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test16292.d
blob
f513ddb1fe244b9c00e77106e8d8c1c8a576292c
1
/* PERMUTE_ARGS:
2
*/
3
// https://issues.dlang.org/show_bug.cgi?id=16292
4
5
void
main
()
6
{
7
goto
label
;
8
if
(
makeS
()[
0
])
9
{
10
label
:
11
}
12
}
13
14
S
makeS
() {
return
S
(); }
15
16
struct
S
17
{
18
int
opIndex
(
size_t i
) {
return
0
; }
19
}