OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / overload4.C
1 // { dg-do assemble  }
2 // Testcase for simple overloading resolution.
3
4 void foo (int);
5 void foo (int, int);
6
7 void bar ()
8 {
9   foo (1);
10   foo (1, 2);
11 }