aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/parm-impl-decl-2.c
blob: 22ea0c6e8afbd489b07d08514fea1054f39e9d76 (plain)
1
2
3
4
5
6
7
/* Test implicit function declarations and other odd declarations in
   function prototypes.  Make sure that LABEL_DECLs don't occur.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "" } */

int k (int [sizeof &&z]); /* { dg-error "label 'z' referenced outside of any function" } */