source:
CIVL/mods/dev.civl.abc/examples/prune/structsInFunction1.cvl@
a8a5acb
| Last change on this file since a8a5acb was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 190 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 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.
