summaryrefslogtreecommitdiff
path: root/cil/doc/examples/ex27.txt
blob: 60591132ad8b694d7d2b50d011e9b188c6726798 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* Generated by CIL v. 1.3.5 */
/* print_CIL_Input is true */

#line 1 "cilcode.tmp/ex27.c"
int foo(int x , int y ) 
{ int unknown ;

  {
#line 3
  if (unknown) {
#line 4
    return (9);
  }
#line 5
  return (x + 3);
}
}
#line 8 "cilcode.tmp/ex27.c"
int main(void) 
{ int a ;
  int b ;
  int c ;
  int tmp ;
  int tmp___0 ;

  {
  {
#line 10
  tmp = foo(5, 7);
#line 10
  tmp___0 = foo(6, 7);
#line 10
  a = tmp + tmp___0;
#line 11
  b = 4;
#line 12
  c = 16;
  }
  {
  {
#line 16
  return (20);
  }
#line 13
  if (0) {
#line 14
    return (b - c);
  }
  }
}
}