OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [void-cast-1.c] - Rev 689

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; }
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.