compound-literal-1.c   [plain text]


/* APPLE LOCAL file mainline 4.0.4 08-25-2006 4647057 */
/* ICE incrementing compound literal: bug 28418 from Volker Reichelt
   <reichelt@gcc.gnu.org>.  */

struct A { int i; };

void foo()
{
    ((struct A) { 0 }).i += 1;
}