Debian Codegraph @

gcc/testsuite/gcc.dg/format/pr78498.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall -Wextra -fdiagnostics-show-caret" } */
3
4 void f (void)
5 {
6 __builtin_printf ("%i", ""); /* { dg-warning "expects argument of type" } */
7 /* { dg-begin-multiline-output "" }
8 __builtin_printf ("%i", "");
9 ~^ ~~
10 | |
11 int char *
12 %s
13 { dg-end-multiline-output "" } */
14 }