blob: c8d74e98de260ea1d2549fa1bef44b303020ae65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "va_args.h"
// Test that it compiles
#define __DUMMY__(x)
Y_MAP_ARGS(__DUMMY__, 1, 2, 3)
#define __DUMMY_LAST__(x)
Y_MAP_ARGS_WITH_LAST(__DUMMY__, __DUMMY_LAST__, 1, 2, 3)
#undef __DUMMY_LAST__
#undef __DUMMY__
#define __MULTI_DUMMY__(x, y)
#define __MULTI_DUMMY_PROXY__(x) __MULTI_DUMMY__ x
Y_MAP_ARGS(__MULTI_DUMMY_PROXY__, (1, 2), (3, 4))
#undef __MULTI_DUMMY_PROXY__
#undef __MULTI_DUMMY__
|