2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc %s -E | grep 'bar foo (2)' &&
|
|
|
|
// RUN: clang-cc %s -E | grep 'm(ABCD)'
|
2006-07-16 05:06:48 +08:00
|
|
|
|
|
|
|
#define foo(x) bar x
|
|
|
|
foo(foo) (2)
|
|
|
|
|
2006-07-19 14:34:41 +08:00
|
|
|
|
|
|
|
#define m(a) a(w)
|
|
|
|
#define w ABCD
|
|
|
|
m(m) // m(ABCD)
|
|
|
|
|