blob: 8804b53bd7a93a204b8abecf512c2e87246ae2a0 (
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 "expects a matching" }
}
|