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/] [stmt-expr-2.c] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test diagnostic for GNU extension: statement expressions. Test with -pedantic. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-options "-std=gnu99 -pedantic" } */ int f (void) { return ({ 1; }); /* { dg-warning "ISO C forbids braced-groups within expressions" } */ }
Go to most recent revision | Compare with Previous | Blame | View Log