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/] [20030612-1.c] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "-O2" } */ extern void abort (void); int A, B; void foo() { long x = 3; (void)({ A = B + x + ((1) - 1); return; /* { dg-warning "statement-expressions should end with a non-void expression" "" { xfail *-*-* } } */ }); } main() { B = 5; foo(); if (A != 8) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log