blob: 16b223ef86f3725a977ef5fd9c677f12cbdbb800 (
plain)
1
2
3
4
5
6
7
|
// 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 } } }
}
|