☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test17146.d
☽
☼
gcc/testsuite/gdc.test/compilable/test17146.d
code
plain
raw
1
// REQUIRED_ARGS: -O -inline
2
3
// https://issues.dlang.org/show_bug.cgi?id=17146
4
5
struct S { int[] a; int b; }
6
7
void foo()
8
{
9
S[] s;
10
if (s[$-1] == S.init) {}
11
}
12
13
void bar() { foo(); }