blob: 3a3854841cd9f2bfc443d8e30f903a8d0aef5ec6 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -E %s | grep 'ei_1 = (17 +1);'
2// RUN: %clang_cc1 -E %s | grep 'ei_2 = (M1)(17);'
Reid Spencer5f016e22007-07-11 17:01:13 +00003
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