Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / va-arg-pack-2.c
blob417248a2a0140ba1dc29eb9a4c7a703b0d4de6aa
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 extern void noreturn (int status, ...);
6 extern inline __attribute ((always_inline)) void
7 error (int status, ...)
9 if (__builtin_constant_p (status))
10 noreturn (status, __builtin_va_arg_pack ());
13 void
14 f (void)
16 error (1);