begin model loopFailImpl_2
| begin input variables
| | N_BOUND : int;
| | | loopFailImpl.c 1.13--2.12: "input int N_BOUND;"
| | n : int;
| | | loopFailImpl.c 3.13--4.6: "input {n>=0 && n<=N_BOUND} int n;"
| end input variables;
| begin output variables
| | t : int;
| | | loopFailImpl.c 5.13--6.6: "output  is tint t;"
| end output variables;
| begin process 0
| | main function : main;
| | begin function main
| | | | loopFailImpl.c 8.0--8.12: "void main ()"
| | | begin proper local variables
| | | | j : int = 0;
| | | | | loopFailImpl.c 9.1--9.9: "int j=0;"
| | | | i : int = 0;
| | | | | loopFailImpl.c 10.1--10.9: "int i=0;"
| | | end proper local variables;
| | | start location : 0;
| | | begin location 0
| | | | kind : CHOICE;
| | | | when n < j goto location 1;
| | | | | loopFailImpl.c 14.1--14.14: "while (j > n)"
| | | | when !n < j goto location 3;
| | | | | loopFailImpl.c 14.1--14.14: "while (j > n)"
| | | end location 0;
| | | begin location 1
| | | | kind : ASSIGNMENT;
| | | | j = j+1; goto location 2;
| | | | | loopFailImpl.c 15.2--15.12: "j = j + 1;"
| | | end location 1;
| | | begin location 2
| | | | kind : ASSIGNMENT;
| | | | i = i+j; goto location 0;
| | | | | loopFailImpl.c 16.2--16.12: "i = i + j;"
| | | end location 2;
| | | begin location 3
| | | | kind : ASSIGNMENT;
| | | | t = i; goto location 4;
| | | | | loopFailImpl.c 18.1--18.7: "t = i;"
| | | end location 3;
| | | begin location 4
| | | | kind : RETURN;
| | | | return null; goto location 5;
| | | | | loopFailImpl.c 19.0--19.0: "}"
| | | end location 4;
| | | begin location 5
| | | | kind : TERMINAL;
| | | end location 5;
| | end function main;
| end process 0;
end model loopFailImpl_2.
