| Submitter | Paolo Carlini |
|---|---|
| Date | July 28, 2010, 6:14 p.m. |
| Message ID | <4C50736C.5070108@oracle.com> |
| Download | mbox | patch |
| Permalink | /patch/60167/ |
| State | New |
| Headers | show |
Comments
OK. Jason
Patch
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 { };