(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr71104-2.c
       1  /* { dg-do compile } */
       2  
       3  struct Foo { char c[1024]; };
       4  void foo(void);
       5  struct Foo baz(void) __attribute__((returns_twice));
       6  struct Foo *p;
       7  
       8  void bar(void)
       9  {
      10    foo();
      11    *p = baz();
      12  }