|
Packit Service |
8bf002 |
/* n_30.t: Macro call. */
|
|
Packit Service |
8bf002 |
/* Note: Comma separate the arguments of function-like macro call,
|
|
Packit Service |
8bf002 |
but comma between matching inner parenthesis doesn't. This feature
|
|
Packit Service |
8bf002 |
is tested on so many places in this suite especially on *.c samples
|
|
Packit Service |
8bf002 |
which use assert() macro, that no separete item to test this feature
|
|
Packit Service |
8bf002 |
is provided. */
|
|
Packit Service |
8bf002 |
|
|
Packit Service |
8bf002 |
/* 30.1: A macro call may cross the lines. */
|
|
Packit Service |
8bf002 |
#define FUNC( a, b, c) a + b + c
|
|
Packit Service |
8bf002 |
/* a + b + c; */
|
|
Packit Service |
8bf002 |
FUNC
|
|
Packit Service |
8bf002 |
(
|
|
Packit Service |
8bf002 |
a,
|
|
Packit Service |
8bf002 |
b,
|
|
Packit Service |
8bf002 |
c
|
|
Packit Service |
8bf002 |
)
|
|
Packit Service |
8bf002 |
;
|
|
Packit Service |
8bf002 |
|