Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / zero-scratch-regs-leafy-1.c
blobc1a0c31ba1c3701ff1508baddb17dd5d6b1e7c02
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fzero-call-used-regs=leafy" } */
4 volatile int result = 0;
5 int
6 __attribute__((noipa))
7 foo (int x)
9 return x;
11 int main()
13 result = foo (2);
14 return 0;