source: CIVL/examples/reasoning/quantified.cvl@ a289c43

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

added test for revealing a bug in SARL

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

  • Property mode set to 100644
File size: 210 bytes
Line 
1$input int N=5;
2int m[N][N];
3
4int main(){
5 int k;
6
7 $havoc(&m);
8 $assume($forall (int i, j | 0<=i && i<N && 0<=j && j<N) m[i][j]!=0);
9 for(int i=0; i<N; i++)
10 for(int j=0; j<N; j++)
11 k=1/m[i][j];
12}
Note: See TracBrowser for help on using the repository browser.