blob: 83a1975b4e5f5b6112272214283a56a0c4304712 [file] [log] [blame]
Dmitri Gribenko4b8a84f2013-02-09 16:41:47 +00001// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
Chris Lattnere11dd372006-07-19 08:01:28 +00002
Dmitri Gribenko4b8a84f2013-02-09 16:41:47 +00003#define M1(a) (a+1)
4#define M2(b) b
Chris Lattnere11dd372006-07-19 08:01:28 +00005
Dmitri Gribenko4b8a84f2013-02-09 16:41:47 +00006int ei_1 = M2(M1)(17);
7// CHECK: {{^}}int ei_1 = (17 +1);{{$}}
8
9int ei_2 = (M2(M1))(17);
10// CHECK: {{^}}int ei_2 = (M1)(17);{{$}}
Chris Lattnere11dd372006-07-19 08:01:28 +000011