Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
vla-const-1.c
blob: c7c1dbee5232897b27498700f01c8db72eb270a9 [
file
] [
log
] [
blame
]
/* Test TREE_CONSTANT VLA size: bug 27893. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-require-effective-target alloca } */
int
a
;
void
g
(
void
*);
void
f
(
void
)
{
int
b
[(
__SIZE_TYPE__
)&
a
];
g
(
b
);
}