(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
Wdangling-pointer-9.c
       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  }