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