]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR c++/2294 (using declaration confusion)
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sat, 27 Dec 2003 00:30:14 +0000 (00:30 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sat, 27 Dec 2003 00:30:14 +0000 (00:30 +0000)
Backport from mainline:
2003-11-14  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

PR c++/2294
* g++.dg/lookup/using9.C: New test.

From-SVN: r75049

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/using9.C

index 24cf462da58c1a609158184cdedae47e776acc42..a2199afe44098df60b52c551a63bd099584bf562 100644 (file)
@@ -1,3 +1,11 @@
+2003-12-27  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       Backport from mainline:
+       2003-11-14  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       PR c++/2294
+       * g++.dg/lookup/using9.C: New test.
+
 2003-12-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.dg/noreturn-7.c: New test.
index c62267519b0b95aa7aee0eeba48b99b76557d269..6ad8086f8e04431da0566a81e123b4ebecfd28df 100644 (file)
@@ -4,14 +4,14 @@
 //  an ambiguous overload set to be created.
 
 namespace B {
-  void f(int);     // { dg-error "note" }
-  void f(double);  // { dg-error "note" }
+  void f(int);     // { dg-error "" }
+  void f(double);  // { dg-error "" }
 }
 
 namespace C {
-  void f(int);     // { dg-error "note" }
-  void f(double);  // { dg-error "note" }
-  void f(char);    // { dg-error "note" }
+  void f(int);     // { dg-error "" }
+  void f(double);  // { dg-error "" }
+  void f(char);    // { dg-error "" }
 }
 
 void h()