param_used: fix use after free
[smatch.git] / validation / member_of_typeof.c
blobdb863b084b882fbf6161892b46327d1318c38203
1 static struct foo {int x;} v;
2 static typeof(v) *p;
3 static void bar(void)
5 p->x = 0;
7 /*
8 * check-name: Expansion of typeof when dealing with member of struct
9 * check-description: Used to expand SYM_TYPEOF too late