Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vla-25.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
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 } |