blob: 6691434c7c98f4d78c620c74912f85011b472ee8 [file] [log] [blame]
// Verify that builtin is used when declared in global namespace
// { dg-do compile }
// { dg-options "-Wall" }
extern "C" int printf(const char*,...);
void foo() {
printf("%d"); // { dg-warning "12: expects a matching" }
}