How does gcov branch and if with several || cases?

前端 未结 0 1935
星月不相逢
星月不相逢 2021-02-05 21:07

I have the following sample case tested with gcov:

void main (void) {
    int x = 5:

    if ( x == 5 || x == 4 || x == 3) {
        printf("Hello 1\\n"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题