summaryrefslogtreecommitdiff
path: root/cil/doc/examples/ex12.txt
blob: d04d83d82a6c16f70ccd1686a750838a6e66b4e4 (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
32
/* Generated by CIL v. 1.3.5 */
/* print_CIL_Input is true */

#line 2 "cilcode.tmp/ex12.c"
struct foo {
   int f1 ;
   int f2 ;
};
#line 1 "cilcode.tmp/ex12.c"
int main(void) 
{ int x ;
  struct foo a[3] ;

  {
#line 1
  x = 5;
#line 2
  a[0].f1 = 1;
#line 2
  a[0].f2 = 2;
#line 2
  a[1].f1 = 3;
#line 2
  a[1].f2 = 4;
#line 2
  a[2].f1 = 5;
#line 2
  a[2].f2 = 0;
#line 3
  return (0);
}
}