aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr66415-2.c
blob: c168ce94854fcf78bef8d19a245a07a71a4d4528 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/66415 */
/* { dg-do compile } */
/* { dg-options "-Wformat" } */

#24
void
fn1 (void)
{
  __builtin_printf                                ("xxxxxxxxxxxxxxxxx%dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
  /* { dg-warning "format" "" { target *-*-* } 27 } */
}