blob: 320e6cf3e2a2fbece9f36a3df64af6265ae5a047 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
Edward O'Callaghan848b9b62009-10-27 01:45:51 +00002
Reid Spencer5f016e22007-07-11 17:01:13 +00003#define hash_hash # ## #
4#define mkstr(a) # a
5#define in_between(a) mkstr(a)
6#define join(c, d) in_between(c hash_hash d)
7char p[] = join(x, y);
Edward O'Callaghan70881df2009-10-26 22:51:02 +00008
9// CHECK: char p[] = "x ## y";
10