OSDN Git Service

* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / using4.C
1 // Build don't link:
2
3 // Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
4
5 struct foo {
6   void m();
7 };
8
9 struct bar : foo {
10   using foo::m;
11   void m(int);
12 };
13
14 void f() {
15   bar b;
16   b.m();
17   b.m(1);
18 }