__module_put_and_exit() doesn't return.
[smatch.git] / validation / smatch_closet / sm_parsing_pointers.c
blobee6b714ab1c7b720e4e9b81a44024b941463333c
1 #include <stdio.h>
2 #include <stdlib.h>
4 struct foo {
5 int a;
6 };
8 int main (void)
10 int *a = malloc(sizeof(*a));
12 *(*(&a)) = 1;
13 printf("%d\n", *a);
14 **&a = 2;
15 printf("%d\n", *a);
17 return 0;
21 * smatch_helper.c does a crap job creating variable names... It needs
22 * to be fixed so that it could understand the above code.