Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20001024-1.c
blobf8c113db7ce4f46a93fcca25d30bc73aa5b7bbbc
1 void abort (void);
2 void exit (int);
4 struct a;
6 extern int baz (struct a *__restrict x);
8 struct a {
9 long v;
10 long w;
13 struct b {
14 struct a c;
15 struct a d;
18 int bar (int x, const struct b *__restrict y, struct b *__restrict z)
20 if (y->c.v || y->c.w != 250000 || y->d.v || y->d.w != 250000)
21 abort();
24 void foo(void)
26 struct b x;
27 x.c.v = 0;
28 x.c.w = 250000;
29 x.d = x.c;
30 bar(0, &x, ((void *)0));
33 int main()
35 foo();
36 exit(0);