source: CIVL/examples/modelbuilder/stateFunction.cvl@ afc300c

1.23 2.0 main test-branch
Last change on this file since afc300c was 86f326a, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

added support for $state_f and $pure

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

  • Property mode set to 100644
File size: 194 bytes
Line 
1
2int main(){
3 int x=10, y;
4
5 $havoc(&y);
6 if($is_concrete_int(x))
7 $havoc(&y);
8 if($is_concrete_int(y))
9 $havoc(&x);
10 $assert($is_concrete_int(x));
11 $assert(!$is_concrete_int(y));
12}
Note: See TracBrowser for help on using the repository browser.