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 lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wvla-1.C
blob
5d261fcf813e97d643ee25158a0a2c4c54329d09
1
/* { dg-do compile } */
2
/* { dg-options "-Wvla" } */
3
/* { dg-require-effective-target alloca } */
4
5
void func (int i)
6
{
7
int array[i]; /* { dg-warning "variable length array 'array' is used" } */
8
}