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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
macro_paste_hashhash.c
blob
f4b03bef2e16703d32cbacfdc482ecb490d1a3cf
1
// RUN: %clang_cc1 -E %s | FileCheck %s
2
#define hash_hash # ## #
3
#define mkstr(a) # a
4
#define in_between(a) mkstr(a)
5
#define join(c, d) in_between(c hash_hash d)
6
// CHECK: "x ## y";
7
join
(
x
,
y
);
8
9
#define FOO(x) A x B
10
// CHECK: A ## B;
11
FOO
(
##);