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_paste_empty.c
blob
e9b50f0e8e87334e3d2276f786f03d603c6aebfe
1
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
2
3
#define FOO(X) X ## Y
4
a
:
FOO
()
5
// CHECK: a:Y
6
7
#define FOO2(X) Y ## X
8
b
:
FOO2
()
9
// CHECK: b:Y
10
11
#define FOO3(X) X ## Y ## X ## Y ## X ## X
12
c
:
FOO3
()
13
// CHECK: c:YY
14
15
#define FOO4(X, Y) X ## Y
16
d
:
FOO4
(,
FOO4
(,))
17
// CHECK: d:FOO4