aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/overload/extern-C-2.C
blob: 562786c049cd957915e764bd8bd5e932f7fed5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// PR c++/39742

void f( int, ...);

struct S
{
};

void
g()
{
  void f( int, ...);

  S t;

  f(1, t);
}

void
f( int i, ...)
{
}