source: CIVL/mods/dev.civl.abc/examples/side-effects/out_loopShortCircuit.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 919 bytes
Line 
1int main()
2{
3 int i = 0;
4 int j = 1;
5 while (1)
6 {
7 int $sef$0;
8 if (!(i > (-1)))
9 $sef$0 = 0;
10 else
11 {
12 int $sef$5 = i < 10;
13 i = i + 1;
14 $sef$0 = $sef$5;
15 }
16 if (!$sef$0)
17 break;
18 j = i;
19 }
20 for (; 1; j = j + 1)
21 {
22 int $sef$1;
23 if (!(i > (-1)))
24 $sef$1 = 0;
25 else
26 {
27 int $sef$6 = i < 10;
28 i = i + 1;
29 $sef$1 = $sef$6;
30 }
31 if (!$sef$1)
32 break;
33 j = i + j;
34 }
35 {
36 int $sef$4;
37 do
38 {
39 j = i;
40 int $sef$2;
41 if (!(i > (-1)))
42 $sef$2 = 0;
43 else
44 {
45 int $sef$7 = j;
46 j = j - 1;
47 $sef$2 = $sef$7;
48 }
49 int $sef$3;
50 int $sef$8 = i;
51 i = i - 1;
52 if ($sef$8)
53 $sef$3 = 1;
54 else
55 {
56 int $sef$9 = i < 10;
57 i = i + 1;
58 $sef$3 = $sef$9;
59 }
60 $sef$4 = $sef$2 && $sef$3;
61 }while ($sef$4);
62 }
63}
Note: See TracBrowser for help on using the repository browser.