http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51911
Bug #: 51911 Summary: [C++11] G++ accepts new auto { list } Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org If the auto type-specifier appears in the type-specifier-seq of a new-type-id or type-id of a new-expression, the new-expression shall contain a new-initializer of the form ( assignment-expression ) So this shouldn't compile: #include <initializer_list> int main() { auto foo = new auto {3, 4, 5}; }