source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/arrayStructMix.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 136 bytes | |
| Line | |
|---|---|
| 1 | struct T {int x;}; |
| 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); |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
