Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test9259.d
blob: abad02b01d414db2f2ce19697dce2e87d223f66f [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -de
// PERMUTE_ARGS: -inline -release -g -O
void
test
(
int
*[]
arr
...)
{
assert
(
arr
.
length
==
1
);
assert
(*
arr
[
0
]
==
5
);
// This assertion fails
}
void
main
()
{
int
a
=
5
;
test
([&
a
]);
}