arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / plugin / must-tail-call-1.c
blob3a6d4cceaba756f5f8acb832c5e7e066dccd0957
1 /* { dg-do compile { target tail_call } } */
2 /* { dg-options "-fdelayed-branch" { target sparc*-*-* } } */
4 extern void abort (void);
6 int __attribute__((noinline,noclone))
7 callee (int i)
9 return i * i;
12 int __attribute__((noinline,noclone))
13 caller (int i)
15 return callee (i + 1);
18 int
19 main (int argc, const char **argv)
21 int result = caller (5);
22 if (result != 36)
23 abort ();
24 return 0;