Commit b9d791a7 by Martin v. Löwis

Repeated using-declaration do have effect on the visible names

From-SVN: r34074
parent dd4fae80
// Build don't link: // Build don't link:
// Declarations after the first one don't affect the set of used decls.
namespace A{ namespace A{
void f(); // ERROR - .* void f();
} }
using A::f; using A::f;
...@@ -15,5 +14,5 @@ using A::f; ...@@ -15,5 +14,5 @@ using A::f;
void g() void g()
{ {
f(4); // ERROR - too many arguments f(4);
} }
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