Blame tests/testfile_entry_value.c

Packit Service 97d2fb
// gcc -g -O2 -o entry_value entry_value.c
Packit Service 97d2fb
int __attribute__((noinline, noclone)) foo (int x, int y)
Packit Service 97d2fb
{
Packit Service 97d2fb
  return x + y;
Packit Service 97d2fb
}
Packit Service 97d2fb
Packit Service 97d2fb
int __attribute__((noinline, noclone)) bar (int x, int y)
Packit Service 97d2fb
{
Packit Service 97d2fb
  int z;
Packit Service 97d2fb
  z = foo (x, y);
Packit Service 97d2fb
  z += foo (y, x);
Packit Service 97d2fb
  return z;
Packit Service 97d2fb
}
Packit Service 97d2fb
Packit Service 97d2fb
int
Packit Service 97d2fb
main (int argc, char **argv)
Packit Service 97d2fb
{
Packit Service 97d2fb
  return bar (argc + 1, argc - 1);
Packit Service 97d2fb
}