source: CIVL/examples/arrays.cvl@ e8a7fef

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since e8a7fef was 0398eb1, checked in by Tim Zirkel <zirkeltk@…>, 13 years ago

Added arrays.cvl example and corresponding test. Added heap type to model. Improved handling of spawns in expression statements.

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

  • Property mode set to 100644
File size: 73 bytes
Line 
1void main() {
2 int a[1][1];
3
4 a[0][0] = 2;
5 \assert a[0][0] == 2;
6}
Note: See TracBrowser for help on using the repository browser.