source: CIVL/examples/sideEffects/complexShortCircuitLoopConditions.cvl@ 7320499

main test-branch
Last change on this file since 7320499 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

  • Property mode set to 100644
File size: 171 bytes
Line 
1#include <assert.h>
2int main() {
3 int x = 1;
4 int y = 2;
5 int z = 3;
6
7 while (( x == y+1 && y > z ) + 1 >= 1 && z < 5) {
8 z++;
9 }
10 assert(z == 5);
11 return 0;
12
13}
Note: See TracBrowser for help on using the repository browser.