source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/scoping.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 137 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | int c; |
| 2 | ||
| 3 | void f(int * p, int * q, int * r) { | |
| 4 | int a, b; | |
| 5 | p = &a; | |
| 6 | q = &b; | |
| 7 | r = &c; | |
| 8 | } | |
| 9 | ||
| 10 | int main() { | |
| 11 | int *p, *q, *r; | |
| 12 | ||
| 13 | f(p, q, r); | |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
