Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla16.C
blob: 4caa33c1633a64f0aac80298fec0a8aa4d9ff8c9 [
file
] [
log
] [
blame
]
// PR c++/72766
// { dg-options "-Wno-vla" }
// { dg-require-effective-target alloca }
long
fn1
()
{
const
int
a
=
fn1
();
int
b
[
a
];
int
c
=
*(&
b
[
0
]
+
sizeof
(
0
));
return
0
;
}