diff options
Diffstat (limited to 'clang/test/Preprocessor/macro_fn_preexpand.c')
-rw-r--r-- | clang/test/Preprocessor/macro_fn_preexpand.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_fn_preexpand.c b/clang/test/Preprocessor/macro_fn_preexpand.c new file mode 100644 index 00000000000..75bde69886c --- /dev/null +++ b/clang/test/Preprocessor/macro_fn_preexpand.c @@ -0,0 +1,5 @@ +// clang %s -E | grep '1 1 X' +/* Preexpansion of argument.*/ +#define A(X) 1 X +A(A(X)) + |