blob: 16b223ef86f3725a977ef5fd9c677f12cbdbb800 [file] [log] [blame]
// PR c++/52818
// { dg-options "-pedantic-errors -Wformat" }
extern "C" int printf (const char *, ...);
void f() {
printf("%lf", 0.0); // { dg-warning "%lf" "" { target { ! c++11 } } }
}