summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_variadic_macros.cpp
blob: 4d007a5362f71d11790aae7f5841efbe69be08f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

int someFunc(int, char, int)
{
  return 0;
}

#define FUNC_WRAPPER(...) someFunc(__VA_ARGS__)

void otherFunc()
{
  FUNC_WRAPPER(42, 'a', 7);
}