OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-08-06 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wvla-2.C
1
/* { dg-do compile } */
2
/* { dg-options "-pedantic-errors -Wvla" } */
3
4
void func (int i)
5
{
6
int array[i]; /* { dg-error "error: ISO C.* forbids variable.* array 'array'" } */
7
}