summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/koenig3.C
blob: c5dedbe708e0ef77e7f19372fe0453a961dbd5c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern "C" void abort ();

struct S {
};
void f(S, int) { abort(); }
void f(S, double) {}

S s;

int main() {
  extern void f(S, int);
  f(s, 3.0);
}