CMake/Tests/CompileFeatures/cxx_variadic_macros.cpp

13 lines
145 B
C++
Raw Permalink Normal View History

2014-04-04 17:05:10 +04:00
int someFunc(int, char, int)
{
return 0;
}
#define FUNC_WRAPPER(...) someFunc(__VA_ARGS__)
void otherFunc()
{
FUNC_WRAPPER(42, 'a', 7);
}