source:
CIVL/mods/dev.civl.com/examples/backend/original.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 174 bytes | |
| Line | |
|---|---|
| 1 | int main(){ |
| 2 | int a=0; |
| 3 | |
| 4 | a=1; |
| 5 | $state s=$get_state(); |
| 6 | int i=5; |
| 7 | $assert($value_at(s, -1, a+$original(i))==6); |
| 8 | i=7; |
| 9 | $assert($value_at(s, -1, a+$original(i))==8); |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.
