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
invoke.texi (Wvla): New warning.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
wvla-3.c
blob
3d5d3aa54345710e30ca6dd5f84e6a9b8844bce8
1
/* { dg-do compile } */
2
/* { dg-options "-pedantic-errors -std=c89 -Wvla" } */
3
4
extern
void
5
func
(
int
i
,
int
array
[
i
]);
/* { dg-error "error: ISO C90 forbids variable.* array 'array'" } */