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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980612-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
struct fd
2
{
3
        unsigned char a;
4
        unsigned char b;
5
} f = { 5 };
6
 
7
struct fd *g() { return &f; }
8
int h() { return -1; }
9
 
10
int main()
11
{
12
        struct fd *f = g();
13
        f->b = h();
14
        if (((f->a & 0x7f) & ~0x10) <= 2)
15
                abort ();
16
        exit (0);
17
}

powered by: WebSVN 2.1.0

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