Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test17146.d
blob: 098bfe4c5d04e5c9498d1a7827f7f09609c1afc8 [
file
] [
log
] [
blame
]
// 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
();
}