repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
ext
/
builtin5.C
blob
2601a12e301698608e092a6c2b64f205269a4db9
1
// Verify that builtin is used when declared in namespace std
2
3
// { dg-do compile }
4
// { dg-options "-Wall" }
5
6
namespace std {
7
extern "C" int printf(const char*,...);
8
}
9
10
void foo() {
11
std::printf("%d"); // { dg-warning "too few arguments" }
12
}