OSDN Git Service

2012-04-15 Fabien ChĂȘne <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / koenig3.C
1 extern "C" void abort ();
2
3 struct S {
4 };
5 void f(S, int) { abort(); }
6 void f(S, double) {}
7
8 S s;
9
10 int main() {
11   extern void f(S, int);
12   f(s, 3.0);
13 }