source: CIVL/examples/experimental/multInLoopCond.cvl@ d1b9862

1.23 2.0 main test-branch
Last change on this file since d1b9862 was 13953d1, checked in by Tim Zirkel <zirkeltk@…>, 12 years ago

Added multInLoopCond.cvl example to experimental directory to illustrate bug.

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

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