TEST CASE: // ICE(glue.c) int[new] crash4992; // Segfault int crash4992b[new]; PATCH: Support for T[new] needs to be removed from the parser. mtype.c, Remove lines 2414 - 2419 from parseBasicType2(). and also from isDeclarator() parseDeclarator() They are easily found by searching for TOKnew. Each section begins with something like: - else if (token.value == TOKnew && peekNext() == TOKrbracket)
http://www.dsource.org/projects/dmd/changeset/704