1 /* Invalid use of __builtin_va_start should not cause an ICE.  Bug
2    17301.  */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
5 
6 int
write_format(char * format,...)7 write_format (char *format, ...)
8 {
9   __builtin_va_list p;
10   __builtin_va_start (p); /* { dg-error "too few arguments to function 'va_start'" } */
11 }
12