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
PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wvla-3.c
blob
45132fa6b1852517868d87e70a1b510a86e15265
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 "ISO C90 forbids variable.* array 'array'" } */