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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr16566-1.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* ICE with flexible arrays in non-lvalue structures.  Bug 16566
2
   (comment #3).  */
3
 
4
struct S;
5
 
6
struct C {
7
    int i;
8
    struct S *tab[];
9
};
10
 
11
struct S { struct C c; };
12
 
13
void foo (struct S *x) {
14
  foo(((void)1, x->c).tab[0]);
15
}

powered by: WebSVN 2.1.0

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