Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / pr94851-4.c
bloba5130c59cb0075df8205c533f04191381efe9588
1 /* { dg-additional-options "-O2 -Wno-analyzer-symbol-too-complex" } */
3 #include <stdlib.h>
5 struct List {
6 struct List *next;
7 };
9 void foo(struct List *p, struct List *q)
11 while (p && p != q){
12 struct List *next = p->next;
13 free(p);
14 p = next;
18 int main()
20 struct List x = {0};
21 foo(NULL, &x);
22 return 0;