source: CIVL/examples/experimental/multInLoopCond.cvl

main
Last change on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

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