URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vla-init-4.c] - Rev 298
Compare with Previous | Blame | View Log
/* Test for ICE on VLA compound literal. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ /* { dg-do compile } */ /* { dg-options "" } */ const int i = 1; void foo() { char *p = (char [i]){ "" }; } /* { dg-error "compound literal has variable size" } */