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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20030305-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR c/9799 */
2
/* Verify that GCC doesn't crash on excess elements
3
   in initializer for a flexible array member.  */
4
 
5
typedef struct {
6
    int aaa;
7
} s1_t;
8
 
9
typedef struct {
10
    int bbb;
11
    s1_t s1_array[];
12
} s2_t;
13
 
14
static s2_t s2_array[]= {
15
    { 1, 4 },
16
    { 2, 5 },
17
    { 3, 6 }
18
};

powered by: WebSVN 2.1.0

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