2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / using4.C
blob9d6e27e046513378554b002338f0b5703d0f2d90
1 // { dg-do assemble  }
3 // Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
5 struct foo {
6   void m();
7 };
9 struct bar : foo {
10   using foo::m;
11   void m(int);
14 void f() {
15   bar b;
16   b.m();
17   b.m(1);