Debian Codegraph @

gcc/testsuite/c-c++-common/Wmultistatement-macros-6.c

raw
1 /* PR c/80116 */
2 /* { dg-options "-Wmultistatement-macros" } */
3 /* { dg-do compile } */
4
5 #define M \
6 if (x) x++; x++
7
8 void
9 f (int x)
10 {
11 M;
12 M;
13 M;
14 M;
15 M;
16 M;
17 M;
18 M;
19 M;
20 M;
21 M;
22 }