let identical symbols share their evaluate/expand methods
[smatch.git] / validation / identifier_list.c
blob4691989c2b3430760ada248ccc14a23ff2632113
1 typedef int T;
2 void f(...);
3 void g(*);
4 void h(x,int);
5 void i_OK(T);
6 void j(x,T);
7 /*
8 * check-name: identifier-list parsing
9 * check-error-start
10 identifier_list.c:2:8: warning: variadic functions must have one named argument
11 identifier_list.c:3:8: error: Expected ) in function declarator
12 identifier_list.c:3:8: error: got *
13 identifier_list.c:4:9: error: Expected ) in function declarator
14 identifier_list.c:4:9: error: got ,
15 identifier_list.c:6:9: error: Expected ) in function declarator
16 identifier_list.c:6:9: error: got ,
17 * check-error-end