CMake/Tests/CompileFeatures/cxx_variadic_macros.cpp
2014-04-08 11:05:57 +02:00

13 lines
145 B
C++

int someFunc(int, char, int)
{
return 0;
}
#define FUNC_WRAPPER(...) someFunc(__VA_ARGS__)
void otherFunc()
{
FUNC_WRAPPER(42, 'a', 7);
}