source: CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/structFieldsWithArrow.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 239 bytes
Line 
1struct H {
2 int *c;
3 int *d;
4};
5
6struct T {
7 int *a;
8 int *b;
9 struct H *h;
10};
11
12int main() {
13 struct T t, *t2;
14 struct H h;
15 int a, b, c, d;
16
17 t.h = &h;
18 t2 = &t;
19 t2->a = &a;
20 t2->b = &b;
21 t2->h->c = &c;
22 t2->h->d = &d;
23}
Note: See TracBrowser for help on using the repository browser.