Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/Wmultistatement-macros-6.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 } |