Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla11.C
blob: e448be325fb4a831997fc41520b1bd15ff314569 [
file
] [
log
] [
blame
]
// Test that auto works with VLAs.
// { dg-do compile { target c++11 } }
// { dg-options "" { target { ! c++1y } } }
void
bar
(
int
n
)
{
float
loc2
[
n
];
auto
&&
range
=
loc2
;
}