(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
zero-scratch-regs-1.c
       1  /* { dg-do run } */
       2  /* { dg-options "-O2 -fzero-call-used-regs=skip" } */
       3  
       4  volatile int result = 0;
       5  int 
       6  __attribute__((noipa))
       7  foo (int x)
       8  {
       9    return x;
      10  }
      11  int main()
      12  {
      13    result = foo (2);
      14    return 0;
      15  }