diff options
Diffstat (limited to 'test/profile/Inputs/instrprof-shared-lib.c')
-rw-r--r-- | test/profile/Inputs/instrprof-shared-lib.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/profile/Inputs/instrprof-shared-lib.c b/test/profile/Inputs/instrprof-shared-lib.c new file mode 100644 index 000000000..d22b0a54a --- /dev/null +++ b/test/profile/Inputs/instrprof-shared-lib.c @@ -0,0 +1,9 @@ +int g1 = 0; +int g2 = 1; + +void foo(int n) { + if (n % 5 == 0) + g1++; + else + g2++; +} |