http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54947
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-06 14:40:12 UTC --- Author: jason Date: Thu Dec 6 14:40:04 2012 New Revision: 194254 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194254 Log: PR c++/54947 * parser.c (cp_parser_initializer_list): Don't require an expression in [] to be constant until we know it's a C99 designator. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-initlist2.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/parser.c