macro_fn_preexpand.c revision f8fd82ba49827db0f6a6ba00c55a7b56b12a19fa
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 6pre: A(A(X)) 7 8/* The ## operator disables preexpansion. */ 9#undef A 10#define A(X) 1 ## X 11nopre: A(A(X)) 12 13