comparison gcc/testsuite/gcc.dg/cpp/pr66415-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR c/66415 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wformat -fdiagnostics-show-caret" } */
4 /* { dg-set-compiler-env-var COLUMNS "82" } */
5
6 void
7 fn1 (void)
8 {
9 __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); /* { dg-warning "71:format" } */
10
11 /* { dg-begin-multiline-output "" }
12 __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
13 ~^
14 { dg-end-multiline-output "" } */
15
16 }