OSDN Git Service

2010-07-28 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 20:02:56 +0000 (20:02 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 20:02:56 +0000 (20:02 +0000)
PR c++/45096
* g++.dg/cpp0x/auto3.C: Tweak dg-error string.

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto3.C

index 88b3691..3ccd402 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/45096
+       * g++.dg/cpp0x/auto3.C: Tweak dg-error string.
+
 2010-07-28  Daniel Kraft  <d@domob.eu>
 
        * gfortran.dg/bound_8.f90: New test.
index f792c07..860790d 100644 (file)
@@ -10,7 +10,7 @@ auto x;                               // { dg-error "auto" }
 auto i = 42, j = 42.0;         // { dg-error "auto" }
 
 // New CWG issue
-auto a[2] = { 1, 2 };          // { dg-error "auto" }
+auto a[2] = { 1, 2 };          // { dg-error "initializer_list" }
 
 template<class T>
 struct A { };