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
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
builtin4.C
blob
8804b53bd7a93a204b8abecf512c2e87246ae2a0
1
// Verify that builtin is used when declared in global namespace
2
3
// { dg-do compile }
4
// { dg-options "-Wall" }
5
6
extern "C" int printf(const char*,...);
7
8
void foo() {
9
printf("%d"); // { dg-warning "expects a matching" }
10
}