source: CIVL/mods/dev.civl.abc/examples/side-effects/out_nestedLoop.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: 484 bytes
Line 
1//====================== nestedLoop.c ======================
2int fun(int a)
3{
4 return 0;
5}
6int main()
7{
8 int data[1];
9 {
10 int i = 0;
11 for (; i < 3; i = i + 1)
12 {
13 int j = 0;
14 for (; 1; j = j - 1)
15 {
16 int $sef$0;
17 if (!(j > 0))
18 $sef$0 = 0;
19 else
20 {
21 int $sef$1 = fun(data[j - 1]);
22 $sef$0 = $sef$1 > 0;
23 }
24 if (!$sef$0)
25 break;
26 return 0;
27 }
28 }
29 }
30 return 0;
31}
Note: See TracBrowser for help on using the repository browser.