URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [c99-flex-array-5.c] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test for flexible array members: not permitted in unions. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ union u { int a; char b[]; }; /* { dg-error "error: flexible array member in union" } */
Go to most recent revision | Compare with Previous | Blame | View Log