2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / parm-impl-decl-2.c
blob22ea0c6e8afbd489b07d08514fea1054f39e9d76
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 "" } */
7 int k (int [sizeof &&z]); /* { dg-error "label 'z' referenced outside of any function" } */