source: CIVL/examples/sideEffects2.cvl@ eb7a9a2

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

Lots of outstanding changes. New examples, improved side effect remover, model builder additions and fixes, support for assert and assume statements. Support for storing code contracts in the model.

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

  • Property mode set to 100644
File size: 141 bytes
Line 
1
2void main() {
3 int a;
4 int b;
5 int c;
6 int d;
7
8 a = b = c = d = 0;
9 b++;
10 a = ++b - c-- + a;
11 d = --a - c++ - --b + b;
12 b = c++;
13}
Note: See TracBrowser for help on using the repository browser.