source: CIVL/examples/bench/binaryGuards.cvl@ 66f00bb

1.23 2.0 main test-branch
Last change on this file since 66f00bb was 66f00bb, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

added benchmarking example for guards.

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

  • Property mode set to 100644
File size: 121 bytes
Line 
1$input int N=10;
2
3int main(){
4 int a=0;
5
6 for(int i=0; i<N; i++){
7 if(a<N)
8 a+=i;
9 else
10 a-=i;
11 }
12}
Note: See TracBrowser for help on using the repository browser.