☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
Wdangling-pointer-9.c
☽
☼
gcc/testsuite/c-c++-common/Wdangling-pointer-9.c
code
plain
raw
1
/* PR middle-end/106080 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wdangling-pointer" } */
4
5
void
6
foo (void **failaddr)
7
{
8
*failaddr = ({ __label__ __here; __here: &&__here; }); /* { dg-bogus "address of local variable" } */
9
}