☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
pr94851-3.c
☽
☼
gcc/testsuite/c-c++-common/analyzer/pr94851-3.c
code
plain
raw
1
/* { dg-additional-options "-O1" } */
2
3
struct List {
4
struct List *next;
5
};
6
7
void foo(struct List *p, struct List *q)
8
{
9
while (p && p != q){
10
p = p->next;
11
}
12
}
13
14
int main()
15
{
16
struct List x = {0};
17
foo(0, &x);
18
return 0;
19
}
20