mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-06 21:51:08 +00:00
8fbe78f6fc
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
13 lines
246 B
C
13 lines
246 B
C
// RUN: %clang_cc1 %s -E | grep 'pre: 1 1 X'
|
|
// RUN: %clang_cc1 %s -E | grep 'nopre: 1A(X)'
|
|
|
|
/* Preexpansion of argument. */
|
|
#define A(X) 1 X
|
|
pre: A(A(X))
|
|
|
|
/* The ## operator disables preexpansion. */
|
|
#undef A
|
|
#define A(X) 1 ## X
|
|
nopre: A(A(X))
|
|
|