(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr85620-4.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -Wno-attributes" } */
       3  
       4  struct ucontext;
       5  
       6  extern int bar (struct ucontext *) __attribute__((__returns_twice__));
       7  
       8  static int __attribute__ ((__always_inline__))
       9  foo (struct ucontext *oucp) /* { dg-error "setjmp" } */
      10  {
      11    return bar (oucp);
      12  }
      13  
      14  int
      15  test (struct ucontext *oucp)
      16  {
      17    return foo (oucp);
      18  }