summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/fuse-caller-save.h
blob: edf6039f9b21795319d98b34b5ce2a092d34581b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static int __attribute__((noinline)) ATTRIBUTE
bar (int x)
{
  return x + 3;
}

int __attribute__((noinline)) ATTRIBUTE
foo (int y)
{
  return y + bar (y);
}

int ATTRIBUTE
main (void)
{
  return !(foo (5) == 13);
}