Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr70651.c
bloba91a2d8fc884a96357326a473358c6b8a359bc95
1 /* PR c/70651 */
2 /* { dg-do compile } */
3 /* { dg-prune-output "\[^\n\r\]*first argument to .va_arg. not of type .va_list.\[^\n\r\]*" } */
5 void fn1 ()
7 char **a = 0;
8 __builtin_va_arg (a, char **);