(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
Wduplicated-branches-10.c
       1  /* PR c/64279 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Wduplicated-branches" } */
       4  
       5  #define DEBUG(msg) ;
       6  
       7  void
       8  f (int i)
       9  {
      10    if (i > 9)
      11      {
      12        DEBUG ("foo");
      13      }
      14    else
      15      {
      16        DEBUG ("bar");
      17      }
      18  }