OSDN Git Service

PR c++/21369
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Oct 2005 20:53:55 +0000 (20:53 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Oct 2005 20:53:55 +0000 (20:53 +0000)
* g++.dg/init/member1.C: Tweak error markers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105252 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/member1.C

index 31a0574..9f1a795 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-11  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/21369
+       * g++.dg/init/member1.C: Tweak error markers.
+
 2005-10-11  Janis Johnson  <janis187@us.ibm.com>
 
        PR testsuite/24281
index aededf2..b5ffbd7 100644 (file)
@@ -11,7 +11,7 @@ template<int> struct B {};
 template<typename T> struct C
 {
   static const int i = A<T>::i;  // { dg-error "incomplete" }
-  static const int j = i;
+  static const int j = i; // { dg-error "constant" }
   B<j> b;  // { dg-error "not a valid template arg" }
 };