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