strace/tests/stack-fcall-2.c
Dmitry V. Levin 23af76cc12 tests: parametrize strace-k.test
Prepare for the check of strace -k symbol names demangling.

* tests/strace-k.test: Parametrize $test_prog and $expected.
* tests/stack-fcall.h: New file.
* tests/stack-fcall.c: Include "stack-fcall.h"
* tests/stack-fcall-0.c: Likewise.
* tests/stack-fcall-1.c: Likewise.
* tests/stack-fcall-2.c: Likewise.
* tests/stack-fcall-3.c: Likewise.
* tests/Makefile.am (EXTRA_DIST): Add stack-fcall.h.
2017-12-29 15:20:21 +00:00

7 lines
63 B
C

#include "stack-fcall.h"
int f2(int i)
{
return f3(i) - i;
}