Sign in
gnu
/
gcc
/
d8a88cdae9c0c42ab7c5c65a5043c4f8bad349d2
/
.
/
gcc
/
testsuite
/
gdc.dg
/
pr90650b.d
blob: 2b3192ed2b6bb1a8b3c356eebfd58f21d3bb03e3 [
file
] [
log
] [
blame
]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90650
// { dg-do compile }
class
c
{
static
f
()
{
return
0
;
}
}
void
g
()
{
if
([
0
]
&
c
.
f
())
{}
// { dg-error "array operation \\\[0\\\] & f\\(\\) without destination memory not allowed" }
}