Message ID | 4C50736C.5070108@oracle.com |
---|---|
State | New |
Headers | show |
OK. Jason
Index: g++.dg/cpp0x/auto3.C =================================================================== --- g++.dg/cpp0x/auto3.C (revision 162649) +++ g++.dg/cpp0x/auto3.C (working copy) @@ -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 { };