Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
format8.C
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 } } }
}