1int g1 = 0;
2int g2 = 1;
3
4void foo(int n) {
5 if (n % 5 == 0)
6 g1++;
7 else
8 g2++;
9}
10

source code of compiler-rt/test/profile/Inputs/instrprof-shared-lib.c