blob: 6691434c7c98f4d78c620c74912f85011b472ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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" }
}
|