source:
CIVL/mods/dev.civl.abc/examples/link/civl.cvl
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 152 bytes | |
| Line | |
|---|---|
| 1 | void g() { |
| 2 | $proc p = $spawn f(); |
| 3 | $wait(p); |
| 4 | } |
| 5 | |
| 6 | void f() { |
| 7 | int x; |
| 8 | $havoc(&x); |
| 9 | } |
| 10 | |
| 11 | int main() { |
| 12 | $proc p = $spawn f(); |
| 13 | $wait(p); |
| 14 | f(); |
| 15 | g(); |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.
