gcc/testsuite/gcc.dg/parm-impl-decl-2.c
raw| 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 <[email protected]> */ |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "" } */ |
| 6 | |
| 7 | int k (int [sizeof &&z]); /* { dg-error "label 'z' referenced outside of any function" } */ |