1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// 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); }