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