1 // { dg-do assemble  }
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 
f()14 void f() {
15   bar b;
16   b.m();
17   b.m(1);
18 }
19