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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [void-cast-1.c] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Don't warn where the left-hand side of a comma expression is a
2
   comma expression whose right-hand side is cast to void.  Bug
3
   21159.  */
4
/* Origin: Joseph Myers <joseph@codesourcery.com> */
5
/* { dg-do compile } */
6
/* { dg-options "-Wall" } */
7
 
8
int a, b, c, d;
9
int e(void) { return (void)a, b; }
10
int f(void) { return (void)a, (void)b, c; }
11
int g(void) { return (void)a, (void)b, (void)c, d; }

powered by: WebSVN 2.1.0

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