strace/tests/stack-fcall-3.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

8 lines
86 B
C

#include <unistd.h>
#include "stack-fcall.h"
int f3(int i)
{
return getpid() + i;
}