source:
CIVL/mods/dev.civl.abc/examples/prune/structsInFunction1.cvl
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 190 bytes | |
| Line | |
|---|---|
| 1 | #include<civlc.cvh> |
| 2 | |
| 3 | void process(){ |
| 4 | typedef struct Node* Node_t; |
| 5 | struct Node{ |
| 6 | int x; |
| 7 | int y; |
| 8 | }; |
| 9 | |
| 10 | int a,b; |
| 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.
