Chris Lattner | b11e43c | 2011-06-14 18:19:37 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -E | FileCheck %s |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 2 | |
3 | #define FOO bar ## baz ## 123 | ||||
Chris Lattner | 5113613 | 2007-12-12 06:20:18 +0000 | [diff] [blame] | 4 | |
Chris Lattner | b11e43c | 2011-06-14 18:19:37 +0000 | [diff] [blame] | 5 | // CHECK: A: barbaz123 |
6 | A: FOO | ||||
7 | |||||
8 | // PR9981 | ||||
9 | #define M1(A) A | ||||
10 | #define M2(X) X | ||||
11 | B: M1(M2(##)) | ||||
12 | |||||
13 | // CHECK: B: ## | ||||
14 |