2 extern undef
bar(void);
3 static undef
foo(char *c
)
13 * check-name: missing type
15 badtype2.c:2:8: warning: 'undef' has implicit type
16 badtype2.c:2:14: error: Expected ; at end of declaration
17 badtype2.c:2:14: error: got bar
18 badtype2.c:3:14: error: Expected ; at end of declaration
19 badtype2.c:3:14: error: got foo
20 badtype2.c:6:3: error: Trying to use reserved word 'switch' as identifier
21 badtype2.c:6:11: error: missing type declaration for parameter 'p'
22 badtype2.c:7:3: error: not in switch scope
23 badtype2.c:10:1: error: Expected ; at the end of type declaration
24 badtype2.c:10:1: error: got }