summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/loverload.C
blob: 3bffa38996fdcceec5e4da76f52ff5d2591d30ce (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// Bug: g++ can't deal with multi-language overloading.

extern void foo (int, int);
extern "C" void foo (int);

void bar ()
{
  foo (1);
  foo (1, 2);
}