Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/using4.C

raw
1 // { dg-do assemble }
2
3 // Based on a testcase by Martin Bachtold <[email protected]>
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 }