aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wmultistatement-macros-4.c
blob: e5cc9c35d5b12d1f67e123c41373e74769439d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR c/80116 */
/* { dg-options "-Wmultistatement-macros" } */
/* { dg-do compile } */

#define FN(C)		\
  void			\
  fn (void)		\
  {			\
    C;			\
  }

int i;

FN (if (i) ++i)