xref: /aosp_15_r20/external/compiler-rt/test/profile/Inputs/instrprof-shared-lib.c (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot int g1 = 0;
2*7c3d14c8STreehugger Robot int g2 = 1;
3*7c3d14c8STreehugger Robot 
foo(int n)4*7c3d14c8STreehugger Robot void foo(int n) {
5*7c3d14c8STreehugger Robot   if (n % 5 == 0)
6*7c3d14c8STreehugger Robot     g1++;
7*7c3d14c8STreehugger Robot   else
8*7c3d14c8STreehugger Robot     g2++;
9*7c3d14c8STreehugger Robot }
10