☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla11.C
☽
☼
gcc/testsuite/g++.dg/ext/vla11.C
code
plain
raw
1
// Test that auto works with VLAs.
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wno-vla" }
4
5
void bar(int n)
6
{
7
float loc2[n];
8
auto&& range = loc2;
9
}