URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [void-cast-1.c] - Rev 154
Compare with Previous | Blame | View Log
/* Don't warn where the left-hand side of a comma expression is a comma expression whose right-hand side is cast to void. Bug 21159. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ int a, b, c, d; int e(void) { return (void)a, b; } int f(void) { return (void)a, (void)b, c; } int g(void) { return (void)a, (void)b, (void)c, d; }