blob: f870f63a49290e222d18c752d33bf5aebec538e1 [file] [log] [blame]
// PERMUTE_ARGS: -inline -release -g -O -d -dw -de
void test(int*[] arr...)
{
assert(arr.length == 1);
assert(*arr[0] == 5); // This assertion fails
}
void main()
{
int a = 5;
test([&a]);
}