// { dg-do assemble }
// Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
struct foo {
void m();
};
struct bar : foo {
using foo::m;
void m(int);
};
void f() {
bar b;
b.m();
b.m(1);
}
// { dg-do assemble }
// Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
struct foo {
void m();
};
struct bar : foo {
using foo::m;
void m(int);
};
void f() {
bar b;
b.m();
b.m(1);
}