1 struct s { int a; int b;};
2 struct s s1;
3 struct s s2 = { 1, 2, };
4 
5 void
check(a,b)6 check (a, b)
7      int a;
8      int b;
9 {
10   if (a == b)
11     exit (0);
12   else
13     abort ();
14 }
15 
16 int
main()17 main ()
18 {
19   int * p;
20   int x;
21 
22   s1.a = 9;
23   p    = & s1.a;
24   s1   = s2;
25   x    = * p;
26 
27   check (x, 1);
28 }
29 
30 
31