]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Preprocessor/c99-6_10_3_3_p4.c
Vendor import of clang release_50 branch r309439:
[FreeBSD/FreeBSD.git] / test / Preprocessor / c99-6_10_3_3_p4.c
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