[PATCH, GCC/ARM, 6/10] Clear GPRs inline when calling nscall function
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr19599.c
bloba536548442f3e64e0d7e7daad1df4586424e6696
1 /* { dg-skip-if "need at least armv5te" { *-*-* } { "-march=armv[234]*" "-mthumb" } { "" } } */
2 /* { dg-skip-if "FDPIC does not support armv5te" { arm*-*-uclinuxfdpiceabi } "*" "" } */
3 /* { dg-options "-O2 -march=armv5te -marm" } */
4 /* { dg-final { scan-assembler "bx" } } */
6 int (*indirect_func)();
8 int indirect_call()
10 return indirect_func();