comparison gcc/testsuite/c-c++-common/Wmultistatement-macros-4.c @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 /* PR c/80116 */
2 /* { dg-options "-Wmultistatement-macros" } */
3 /* { dg-do compile } */
4
5 #define FN(C) \
6 void \
7 fn (void) \
8 { \
9 C; \
10 }
11
12 int i;
13
14 FN (if (i) ++i)