summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/profile/Inputs/instrprof-gcov-execvp.c
blob: f2e411c2a42e8475270695e65451f1295940061f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <unistd.h>

void func1() {}
void func2() {}

int main(void)
{
  char *const args[] = {"-l", "-h", (char*)0};

  func1();

  execvp("ls", args);

  func2();

  return 0;
}
OpenPOWER on IntegriCloud