Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
      2 
      3 #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)
      7 char p[] = join(x, y);
      8 
      9 // CHECK: char p[] = "x ## y";
     10 
     11