From: Martin v. Löwis Date: Mon, 22 May 2000 07:25:28 +0000 (+0000) Subject: Repeated using-declaration do have effect on the visible names X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9d791a72df87a0b565dd9301fa70f1abdc86f4d;p=gcc.git Repeated using-declaration do have effect on the visible names From-SVN: r34074 --- diff --git a/gcc/testsuite/g++.old-deja/g++.ns/overload3.C b/gcc/testsuite/g++.old-deja/g++.ns/overload3.C index 945f9488511..1e0143a707d 100644 --- a/gcc/testsuite/g++.old-deja/g++.ns/overload3.C +++ b/gcc/testsuite/g++.old-deja/g++.ns/overload3.C @@ -1,8 +1,7 @@ // Build don't link: -// Declarations after the first one don't affect the set of used decls. namespace A{ - void f(); // ERROR - .* + void f(); } using A::f; @@ -15,5 +14,5 @@ using A::f; void g() { - f(4); // ERROR - too many arguments + f(4); }