identifier_list.c 547 B

12345678910111213141516171819
  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
  18. */