Repeated using-declaration do have effect on the visible names
authorMartin v. Löwis <loewis@gcc.gnu.org>
Mon, 22 May 2000 07:25:28 +0000 (07:25 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Mon, 22 May 2000 07:25:28 +0000 (07:25 +0000)
From-SVN: r34074

gcc/testsuite/g++.old-deja/g++.ns/overload3.C

index 945f94885117ccbce03a3845b26d794e1f2c847b..1e0143a707d8707f4f9963c21ae972af5ed10c2d 100644 (file)
@@ -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);
 }