source: CIVL/examples/experimental/multInLoopCond.cvl@ 160ecd0

1.23 2.0 main test-branch
Last change on this file since 160ecd0 was 6cc497b, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

updated examples

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

  • Property mode set to 100644
File size: 240 bytes
Line 
1/* Commandline execution:
2 * civl verify multInLoopCond.cvl
3 * */
4$input int N;
5$input int M;
6$assume N > 0 && N < 3;
7$assume M > 0 && M < 3;
8
9void main() {
10 int k = M*N;
11 int a[k];
12
13 for (int i = 0; i < k; i++) {
14 a[i] = i;
15 }
16}
Note: See TracBrowser for help on using the repository browser.