Debian Codegraph @

gcc/testsuite/gcc.dg/format/Wsuggest-attribute-1.c

raw
1 /* PR c/83966 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsuggest-attribute=format" } */
4
5 #include "format.h"
6
7 va_list va;
8 const char *f;
9 __typeof (vsnprintf ("foo", 0U, f, va)) T;