Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 1 | // Example from C99 6.10.3.4p7 |
2 | |||||
3 | // RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s | ||||
4 | |||||
5 | #define t(x,y,z) x ## y ## z | ||||
6 | int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), | ||||
7 | t(10,,), t(,11,), t(,,12), t(,,) }; | ||||
8 | |||||
9 | // CHECK: int j[] = { 123, 45, 67, 89, | ||||
10 | // CHECK: 10, 11, 12, }; |