diff options
Diffstat (limited to 'test/profile/Inputs/instrprof-gcov-fork.c')
-rw-r--r-- | test/profile/Inputs/instrprof-gcov-fork.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/profile/Inputs/instrprof-gcov-fork.c b/test/profile/Inputs/instrprof-gcov-fork.c new file mode 100644 index 000000000..818c459c5 --- /dev/null +++ b/test/profile/Inputs/instrprof-gcov-fork.c @@ -0,0 +1,15 @@ +#include <unistd.h> + +void func1() {} +void func2() {} + +int main(void) +{ + func1(); + + fork(); + + func2(); + + return 0; +} |