source:
CIVL/mods/dev.civl.abc/examples/prune/structsInFunction_pruned.cvl@
a8a5acb
| Last change on this file since a8a5acb was a6c4add, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 343 bytes | |
| Rev | Line | |
|---|---|---|
| [a6c4add] | 1 | #pragma CIVL ACSL |
| [aad342c] | 2 | //======================== civlc.cvh ======================= |
| 3 | typedef struct $proc $proc; | |
| [a6c4add] | 4 | /*@ depends_on \nothing; |
| 5 | @*/ | |
| [aad342c] | 6 | $system[civlc] void $wait($proc p); |
| 7 | //================== structsInFunction.cvl ================= | |
| 8 | void process() { | |
| 9 | int a; | |
| 10 | int b; | |
| 11 | a = b = 10; | |
| 12 | } | |
| 13 | int main() { | |
| 14 | $proc p = $spawn process(); | |
| 15 | $wait(p); | |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.
