source:
CIVL/mods/dev.civl.com/examples/modelbuilder/stateFunction.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 194 bytes | |
| Line | |
|---|---|
| 1 | |
| 2 | int 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.
