Debian Codegraph @

gcc/testsuite/g++.dg/ext/builtin4.C

raw
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 "12: expects a matching" }
10 }