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
libstdc++: Only use std::ios_base_library_init() for ELF [PR116159]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wvla-1.C
blob
95e452dfc700af6f796d637955625e9a001f6788
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 "7:variable length array 'array' is used" } */
8
}