summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload4.C
blob: 6a30b435d383b03288ef05d9ad5f2fbaebabcc75 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// Testcase for simple overloading resolution.

void foo (int);
void foo (int, int);

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