brintos

brintos / llvm-project-archived public Read only

0
0
Text · 282 B · a1aab26 Raw
12 lines · c
1 2// RUN: %clang_cc1 -E %s | grep 'foo{a, b, c, d, e}'3// RUN: %clang_cc1 -E %s | grep 'foo2{d, C, B}'4// RUN: %clang_cc1 -E %s | grep 'foo2{d,e, C, B}'5 6#define va1(...) foo{a, __VA_ARGS__, e}7va1(b, c, d)8#define va2(a, b, ...) foo2{__VA_ARGS__, b, a}9va2(B, C, d)10va2(B, C, d,e)11 12