☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
asan
/
pr114687.c
☽
☼
gcc/testsuite/gcc.dg/asan/pr114687.c
code
plain
raw
1
/* PR sanitizer/114687 */
2
/* { dg-do compile } */
3
4
int a;
5
int foo (int);
6
7
__attribute__((pure, returns_twice)) int
8
bar (void)
9
{
10
a = 1;
11
while (a)
12
a = 2;
13
return a;
14
}
15
16
int
17
baz (void)
18
{
19
int d = bar ();
20
foo (d);
21
return 0;
22
}