Debian Codegraph @

gcc/testsuite/gcc.dg/format/pr78680.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall -Wextra -fdiagnostics-show-caret" } */
3
4 void fn1() {
5 __builtin_printf("\
6 %ld.\n\
7 2\n"); };
8 /* { dg-warning "expects a matching" "" { target *-*-* } .-3 } */
9 /* { dg-begin-multiline-output "" }
10 __builtin_printf("\
11 ^~
12 %ld.\n\
13 ~~~~~~~
14 2\n"); };
15 ~~~~
16 { dg-end-multiline-output "" } */