repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
macro_fn_varargs_iso.c
blob
a1aab26bae3966545daa3aa09d252be21be268ab
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}
7
va1
(
b
,
c
,
d
)
8
#define va2(a, b, ...) foo2{__VA_ARGS__, b, a}
9
va2
(
B
,
C
,
d
)
10
va2
(
B
,
C
,
d
,
e
)
11