[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / Preprocessor / macro_fn_preexpand.c
blob1b94c82a2163059560f2d01d5bf2ae842d8732eb
1 // RUN: %clang_cc1 %s -E | grep 'pre: 1 1 X'
2 // RUN: %clang_cc1 %s -E | grep 'nopre: 1A(X)'
4 /* Preexpansion of argument. */
5 #define A(X) 1 X
6 pre: A(A(X))
8 /* The ## operator disables preexpansion. */
9 #undef A
10 #define A(X) 1 ## X
11 nopre: A(A(X))