source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/structFields2.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 199 bytes | |
| Line | |
|---|---|
| 1 | struct T { |
| 2 | int *a; |
| 3 | int *b; |
| 4 | struct H { |
| 5 | int *c; |
| 6 | int *d; |
| 7 | } h; |
| 8 | }; |
| 9 | |
| 10 | int main() { |
| 11 | struct T t, *t2; |
| 12 | int a, b, c, d; |
| 13 | |
| 14 | t.a = &a; |
| 15 | t.b = &b; |
| 16 | t.h.c = &c; |
| 17 | t.h.d = &d; |
| 18 | t2 = &t; |
| 19 | } |
Note:
See TracBrowser
for help on using the repository browser.
