Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test17146.d

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(); }