Home | History | Annotate | Download | only in tests
      1 // gcc -g -O2 -o entry_value entry_value.c
      2 int __attribute__((noinline, noclone)) foo (int x, int y)
      3 {
      4   return x + y;
      5 }
      6 
      7 int __attribute__((noinline, noclone)) bar (int x, int y)
      8 {
      9   int z;
     10   z = foo (x, y);
     11   z += foo (y, x);
     12   return z;
     13 }
     14 
     15 int
     16 main (int argc, char **argv)
     17 {
     18   return bar (argc + 1, argc - 1);
     19 }
     20