☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
asan
/
pr63845.c
☽
☼
gcc/testsuite/gcc.dg/asan/pr63845.c
code
plain
raw
1
/* PR sanitizer/63845 */
2
/* { dg-do compile } */
3
/* { dg-options "-fPIC" { target fpic } } */
4
5
int __attribute__ ((noinline, noclone))
6
foo (void *p)
7
{
8
return *(int*)p;
9
}
10
11
int main ()
12
{
13
char a = 0;
14
foo (&a);
15
return 0;
16
}
17