mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
13 lines
202 B
D
13 lines
202 B
D
// REQUIRED_ARGS: -O -inline
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=17146
|
|
|
|
struct S { int[] a; int b; }
|
|
|
|
void foo()
|
|
{
|
|
S[] s;
|
|
if (s[$-1] == S.init) {}
|
|
}
|
|
|
|
void bar() { foo(); }
|