source:
CIVL/mods/dev.civl.abc/examples/c/dagcall.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 247 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * Expected results: |
| 3 | * main calls {foo,bar} |
| 4 | * foo calls {bar} |
| 5 | * bar calls {} |
| 6 | * main called by {} |
| 7 | * foo called by {main} |
| 8 | * bar called by {main,foo} |
| 9 | */ |
| 10 | void bar() { |
| 11 | } |
| 12 | |
| 13 | void foo() { |
| 14 | bar(); |
| 15 | } |
| 16 | |
| 17 | int main() { |
| 18 | foo(); |
| 19 | bar(); |
| 20 | } |
Note:
See TracBrowser
for help on using the repository browser.
