Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -E %s | grep '^"x ## y";$' |
Chris Lattner | e11dd37 | 2006-07-19 08:01:28 +0000 | [diff] [blame] | 2 | #define hash_hash # ## # |
3 | #define mkstr(a) # a | ||||
4 | #define in_between(a) mkstr(a) | ||||
5 | #define join(c, d) in_between(c hash_hash d) | ||||
6 | join(x, y); | ||||
7 |