diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:11 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:11 +0000 |
commit | 0a5fb09b599c1bdea3cd11168bb8f4ff4040316e (patch) | |
tree | 5e94367d1a8032322c6871cfe16714c0982fd61a /test/Preprocessor/stringize_space.c | |
parent | f0c0337bbfb63d1f9edf145aab535bdf82c20454 (diff) |
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" |