URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr22098-1.c] - Rev 816
Go to most recent revision | Compare with Previous | Blame | View Log
extern void abort (void); extern void exit (int); typedef __SIZE_TYPE__ size_t; int main (void) { int a = 0; int *p; size_t b; b = (size_t)(p = &(int []){0, 1, 2}[++a]); if (a != 1 || *p != 1 || *(int *)b != 1) abort (); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log