source: CIVL/examples/experimental/multInLoopCond.cvl@ 166a724

1.23 2.0 main test-branch
Last change on this file since 166a724 was e51fd2f, checked in by Stephen Siegel <siegel@…>, 12 years ago

Improvements to MPI example ring2.

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

  • Property mode set to 100644
File size: 256 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$assume N*M<=4;
9
10void main() {
11 int k = M*N;
12 int a[k];
13
14 for (int i = 0; i < k; i++) {
15 a[i] = i;
16 }
17}
Note: See TracBrowser for help on using the repository browser.