repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c99-vla-1.c
blob
4501852066c40be58118f99cb24517699df2259e
1
/* Origin: PR 3467 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
4
/* { dg-require-effective-target alloca } */
5
6
void
7
tdef
(
int
n
)
8
{
9
typedef
int
A
[
n
];
/* { dg-bogus "forbids variable length array" } */
10
A a
;
11
A
*
p
;
12
p
= &
a
;
13
}