OSDN Git Service

PR c/18239
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / parm-impl-decl-2.c
1 /* Test implicit function declarations and other odd declarations in
2    function prototypes.  Make sure that LABEL_DECLs don't occur.  */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
6
7 int k (int [sizeof &&z]); /* { dg-error "error: label 'z' referenced outside of any function" } */