Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / pr66415-1.c
blob515252cd0233d412715af67dd8b1a368ca2b00cb
1 /* PR c/66415 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wformat -fdiagnostics-show-caret" } */
4 /* { dg-set-compiler-env-var COLUMNS "82" } */
6 void
7 fn1 (void)
9 __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); /* { dg-warning "71:format" } */
11 /* { dg-begin-multiline-output "" }
12 __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
14 { dg-end-multiline-output "" } */