blob: 218ffe2a85c331c7dd29cb3717a0fda9c214d5e8 [file] [log] [blame]
// Build don't link:
// Based on a testcase by Martin Bachtold <martinb@coyotesystems.com>
// excess errors test - XFAIL *-*-*
struct foo {
void m();
};
struct bar : foo {
using foo::m;
void m(int);
};
void f() {
bar b;
b.m();
b.m(1);
}