diff options
Diffstat (limited to 'test/profile/Inputs/instrprof-gcov-multiple-bbs-single-line.c')
-rw-r--r-- | test/profile/Inputs/instrprof-gcov-multiple-bbs-single-line.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/profile/Inputs/instrprof-gcov-multiple-bbs-single-line.c b/test/profile/Inputs/instrprof-gcov-multiple-bbs-single-line.c new file mode 100644 index 000000000000..a2e187b5cb61 --- /dev/null +++ b/test/profile/Inputs/instrprof-gcov-multiple-bbs-single-line.c @@ -0,0 +1,20 @@ +int main(void) +{ + int var; + + int a = 1; + if (a) { + var++; + } + + if (a) {} + + int b = 0; + if (b) { + var++; + } + + if (b) {} + + return 0; +} |