Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
b42cc22ad4b3cc4c4cd697052b8f1dd85df96d0a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
format8.C
blob: ffceb797a7dc93473e25e2c8d12681320c86e91b [
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++98 } }
}