Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | /* RUN: %clang_cc1 -E %s | grep 'a 3' |
| 2 | * RUN: %clang_cc1 -E %s | grep 'b 16' |
| 3 | * RUN: %clang_cc1 -E -P %s | grep 'a 3' |
| 4 | * RUN: %clang_cc1 -E -P %s | grep 'b 16' |
| 5 | * RUN: %clang_cc1 -E %s | not grep '# 0 ' |
Chris Lattner | 3ed83c1 | 2007-12-09 21:11:08 +0000 | [diff] [blame] | 6 | * PR1848 |
Chris Lattner | be70ced | 2009-01-30 18:49:16 +0000 | [diff] [blame] | 7 | * PR3437 |
Chris Lattner | 3ed83c1 | 2007-12-09 21:11:08 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #define t(x) x |
| 11 | |
| 12 | t(a |
| 13 | 3) |
| 14 | |
| 15 | t(b |
| 16 | __LINE__) |
| 17 | |