source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/arrayStructMix2.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 140 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | struct T {int x[10];}; |
| 2 | ||
| 3 | int main() { | |
| 4 | struct T t[10]; | |
| 5 | struct T * p; | |
| 6 | int i, *q, *r; | |
| 7 | ||
| 8 | p = t; | |
| 9 | q = p->x; | |
| 10 | r = &((p + i)->x[2]); | |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
