source:
CIVL/mods/dev.civl.abc/examples/prune/structsInFunction.cvl
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 181 bytes | |
| Line | |
|---|---|
| 1 | void process(){ |
| 2 | typedef struct Node Node_t; |
| 3 | |
| 4 | struct Node { |
| 5 | int x; |
| 6 | int y; |
| 7 | }; |
| 8 | |
| 9 | int a,b; |
| 10 | |
| 11 | a = b = 10; |
| 12 | } |
| 13 | |
| 14 | int main(){ |
| 15 | $proc p = $spawn process(); |
| 16 | |
| 17 | $wait(p); |
| 18 | } |
Note:
See TracBrowser
for help on using the repository browser.
