☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test9259.d
☽
☼
gcc/testsuite/gdc.test/runnable/test9259.d
code
plain
raw
1
// REQUIRED_ARGS: -de
2
// PERMUTE_ARGS: -inline -release -g -O
3
4
void test(int*[] arr...)
5
{
6
assert(arr.length == 1);
7
assert(*arr[0] == 5); // This assertion fails
8
}
9
10
void main()
11
{
12
int a = 5;
13
test([&a]);
14
}