Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / builtin3.C
blob3d06dd7534ae146e63b529de21cfc74bef71cbf0
1 // Verify that declaring builtin in namespace std doesn't give us
2 // declaration in global namespace
4 // { dg-do compile }
5 // { dg-options "" }
7 namespace std {
8 extern "C" int printf(char*, ...);
11 void foo() {
12   printf("abc");                // { dg-error "not declared" }