Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/pr66415-1.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
line wrap: on
line source
/* PR c/66415 */ /* { dg-do compile } */ /* { dg-options "-Wformat -fdiagnostics-show-caret" } */ /* { dg-set-compiler-env-var COLUMNS "82" } */ void fn1 (void) { __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); /* { dg-warning "71:format" } */ /* { dg-begin-multiline-output "" } __builtin_printf ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); ~^ | int { dg-end-multiline-output "" } */ }