Debian Codegraph @

gcc/testsuite/g++.dg/warn/format8.C

raw
1 // PR c++/52818
2 // { dg-options "-pedantic-errors -Wformat" }
3
4 extern "C" int printf (const char *, ...);
5 void f() {
6 printf("%lf", 0.0); // { dg-warning "%lf" "" { target { ! c++11 } } }
7 }