diff options
Diffstat (limited to 'test/Preprocessor/stringize_space.c')
-rw-r--r-- | test/Preprocessor/stringize_space.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Preprocessor/stringize_space.c b/test/Preprocessor/stringize_space.c index ae70bf18187c..cbc7386cd09b 100644 --- a/test/Preprocessor/stringize_space.c +++ b/test/Preprocessor/stringize_space.c @@ -18,3 +18,14 @@ f( 1) // CHECK: {{^}}"-1" + +#define paste(a,b) str(a<b##ld) +paste(hello1, wor) +paste(hello2, + wor) +paste(hello3, +wor) + +// CHECK: {{^}}"hello1<world" +// CHECK: {{^}}"hello2<world" +// CHECK: {{^}}"hello3<world" |