]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/Preprocessor/macro_rescan.c
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / Preprocessor / macro_rescan.c
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 -E %s | grep 'ei_1 = (17 +1);'
2// RUN: %clang_cc1 -E %s | grep 'ei_2 = (M1)(17);'
3
4#define M1(a) (a+1)
5#define M2(b) b
6
7int ei_1 = M2(M1)(17); /* becomes int ei_1 = (17+1); */
8int ei_2 = (M2(M1))(17); /* becomes int ei_2 = (M1)(17); */
9