1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
6 extern __inline
__attribute__ ((__always_inline__
))
7 __attribute__ ((__gnu_inline__
)) int sprintf (int *p1
, char *p2
, ...)
9 a
= __builtin_object_size (0, 0);
10 return __builtin___sprintf_chk (0, 0, a
, p2
, __builtin_va_arg_pack ());
16 b
+= sprintf (0, "foo");
19 /* { dg-prune-output "\\\[-Wbuiltin-declaration-mismatch]" } */