blob: 6b8d48b4e62ff3819cdc52ef389d060875364019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// x-macro.slang
//TEST:SIMPLE:
// Test the case of an "X macro" that takes another macro as a parameter
#define X(M) M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7)
#define A(x) + x + x + x
int sum()
{
return X(A);
}
|