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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vla-25.c
blob
f6041575a097fed108688015b0bf68315e368a28
1
/* Test [*] diagnosed on old-style parameter declaration. PR c/88704. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c99 -pedantic-errors" } */
4
5
void
6
f
(
x
)
7
int
x
[*];
8
{
/* { dg-error "not allowed in other than function prototype scope" } */
9
}