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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
macro_fn_preexpand.c
blob
1b94c82a2163059560f2d01d5bf2ae842d8732eb
1
// RUN: %clang_cc1 %s -E | grep 'pre: 1 1 X'
2
// RUN: %clang_cc1 %s -E | grep 'nopre: 1A(X)'
3
4
/* Preexpansion of argument. */
5
#define A(X) 1 X
6
pre
:
A
(
A
(
X
))
7
8
/* The ## operator disables preexpansion. */
9
#undef A
10
#define A(X) 1 ## X
11
nopre
:
A
(
A
(
X
))
12