source:
CIVL/examples/reasoning/quantified.cvl@
a289c43
| Last change on this file since a289c43 was 0575b7d, checked in by , 10 years ago | |
|---|---|
|
|
| File size: 210 bytes | |
| Line | |
|---|---|
| 1 | $input int N=5; |
| 2 | int m[N][N]; |
| 3 | |
| 4 | int 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.
