Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vla-25.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* Test [*] diagnosed on old-style parameter declaration. PR c/88704. */ /* { dg-do compile } */ /* { dg-options "-std=c99 -pedantic-errors" } */ void f (x) int x[*]; { /* { dg-error "not allowed in other than function prototype scope" } */ }