2011-06-15 02:19:37 +08:00
|
|
|
// RUN: %clang_cc1 %s -E | FileCheck %s
|
2006-07-19 13:42:48 +08:00
|
|
|
|
|
|
|
#define FOO bar ## baz ## 123
|
2007-12-12 14:20:18 +08:00
|
|
|
|
2011-06-15 02:19:37 +08:00
|
|
|
// CHECK: A: barbaz123
|
|
|
|
A: FOO
|
|
|
|
|
|
|
|
// PR9981
|
|
|
|
#define M1(A) A
|
|
|
|
#define M2(X) X
|
|
|
|
B: M1(M2(##))
|
|
|
|
|
|
|
|
// CHECK: B: ##
|
|
|
|
|