Retro68/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-10.c
2017-10-07 02:16:47 +02:00

19 lines
214 B
C

/* PR c/64279 */
/* { dg-do compile } */
/* { dg-options "-Wduplicated-branches" } */
#define DEBUG(msg) ;
void
f (int i)
{
if (i > 9)
{
DEBUG ("foo");
}
else
{
DEBUG ("bar");
}
}