Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20001024-1.c
blob42be8abca6acf11d8570502e9fd8326521901c5c
1 struct a;
3 extern int baz (struct a *__restrict x);
5 struct a {
6 long v;
7 long w;
8 };
10 struct b {
11 struct a c;
12 struct a d;
15 int bar (int x, const struct b *__restrict y, struct b *__restrict z)
17 if (y->c.v || y->c.w != 250000 || y->d.v || y->d.w != 250000)
18 abort();
21 void foo(void)
23 struct b x;
24 x.c.v = 0;
25 x.c.w = 250000;
26 x.d = x.c;
27 bar(0, &x, ((void *)0));
30 int main()
32 foo();
33 exit(0);