repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85662
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wmultistatement-macros-3.c
blob
d130a35f8cc0657da4fbe08838df8b0454878dbc
1
/* PR c/80116 */
2
/* { dg-options "-Wmultistatement-macros" } */
3
/* { dg-do compile } */
4
5
#define CHECK(X) if (!(X)) __builtin_abort ()
6
7
void
8
fn
(
int
i
)
9
{
10
CHECK
(
i
==
1
);
11
CHECK
(
i
==
2
);
12
}