Forbid declarations after label, case and default statements.
[cparser] / parsetest / shouldfail / function_return.c
1 typedef int (function)(int);
2 typedef void broken_array[8];
3 typedef int int_array[8];
4
5 broken_array x;
6
7 typedef function func2(void);
8
9 func2 test;
10
11 broken_array test2(void);
12 int_array test3(void);