OSDN Git Service

* c-decl.c (pushdecl): When an extern declaration at block scope
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20011114-2.c
1 typedef struct { int c, d, e, f, g; } D;
2
3 void bar (unsigned long, unsigned long);
4 void foo (D *y)
5 {
6   int x = 0;
7
8   if (y->f == 0)
9     x |= 0x1;
10   if (y->g == 0)
11     x |= 0x2;
12   bar ((x << 16) | (y->c & 0xffff), (y->d << 16) | (y->e & 0xffff));
13 }