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/] [execute/] [990525-1.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 297 jeremybenn
struct blah {
2
    int m1, m2;
3
};
4
 
5
void die(struct blah arg)
6
{
7
    int i ;
8
    struct blah buf[1];
9
 
10
    for (i = 0; i < 1 ; buf[i++] = arg)
11
        ;
12
    if (buf[0].m1 != 1) {
13
        abort ();
14
    }
15
}
16
 
17
int main()
18
{
19
    struct blah s = { 1, 2 };
20
 
21
    die(s);
22
    exit (0);
23
}

powered by: WebSVN 2.1.0

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