repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
format8.C
blob
16b223ef86f3725a977ef5fd9c677f12cbdbb800
1
// PR c++/52818
2
// { dg-options "-pedantic-errors -Wformat" }
3
4
extern "C" int printf (const char *, ...);
5
void f() {
6
printf("%lf", 0.0); // { dg-warning "%lf" "" { target { ! c++11 } } }
7
}