strace/tests/stack-fcall-0.c
Dmitry V. Levin b076420692 tests: robustify -k test
Split stack-fcall.c into several compilation units so that intermediate
function calls would not be optimized out by compiler.

* tests/stack-fcall.c: Move intermediate functions to ...
* tests/stack-fcall-*.c: ... new files.
* tests/Makefile.am (stack_fcall_SOURCES): Add stack-fcall-*.c.
2014-06-18 15:18:47 +00:00

7 lines
53 B
C

int f1(int i);
int f0(int i)
{
return f1(i) - i;
}