summaryrefslogtreecommitdiff
path: root/cil/doc/examples/ex44.txt
blob: 06f83ba3eb499e1079e0ed66fe8f932d64a250c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Generated by CIL v. 1.3.5 */
/* print_CIL_Input is true */

#line 1 "cilcode.tmp/ex44.c"
struct s {
   int i1 ;
   int i2 ;
};
#line 1 "cilcode.tmp/ex44.c"
union u {
   int i ;
   struct s s ;
};
#line 8 "cilcode.tmp/ex44.c"
union u x  =    {6};
#line 10 "cilcode.tmp/ex44.c"
int main(void) 
{ struct s y ;
  union u z ;

  {
#line 11
  y.i1 = 1;
#line 11
  y.i2 = 2;
#line 12
  z.s = y;
#line 13
  return (0);
}
}