Commit 00b8ce6b by Alexandre Oliva Committed by Alexandre Oliva

using4.C: New test.

	* g++.old-deja/g++.other/using4.C: New test.  Test using
 	declarations of methods from base classes.

From-SVN: r22903
parent 5e11b87c
1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/using4.C: New test. Test using
declarations of methods from base classes.
* g++.old-deja/g++.ns/extern1.C: New test. Extern declarations
within functions should introduce names into the innermost
enclosing namespace
......
// 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment