cmake/Tests/CompileFeatures/cxx_variadic_macros.cpp

13 lines
145 B
C++
Raw Normal View History

2015-04-27 22:25:09 +02:00
int someFunc(int, char, int)
{
return 0;
}
#define FUNC_WRAPPER(...) someFunc(__VA_ARGS__)
void otherFunc()
{
FUNC_WRAPPER(42, 'a', 7);
}