re PR c++/45096 (g++.dg/cpp0x/auto3.C)

2010-07-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/45096
	* g++.dg/cpp0x/auto3.C: Tweak dg-error string.

From-SVN: r162657
This commit is contained in:
Paolo Carlini 2010-07-28 20:02:56 +00:00 committed by Paolo Carlini
parent 8119a6a61b
commit 1732dfea70
2 changed files with 6 additions and 1 deletions

View 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.

View 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 { };