source: CIVL/examples/arrays.cvl@ cffd3a6

1.23 2.0 main test-branch
Last change on this file since cffd3a6 was 25ad79d, checked in by Tim Zirkel <zirkeltk@…>, 13 years ago

Modified arrays.cvl to illustrate a defect.

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

  • Property mode set to 100644
File size: 137 bytes
Line 
1#include<civlc.h>
2
3void main() {
4 int a[1][1];
5 int b[2];
6
7 a[0][0] = 2;
8 b[1] = 5;
9 $assert a[0][0] == 2;
10 $assert b[1] == 5;
11}
Note: See TracBrowser for help on using the repository browser.