diff options
Diffstat (limited to 'test/Preprocessor/macro_paste_bad.c')
-rw-r--r-- | test/Preprocessor/macro_paste_bad.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_paste_bad.c b/test/Preprocessor/macro_paste_bad.c new file mode 100644 index 0000000000..60caa42743 --- /dev/null +++ b/test/Preprocessor/macro_paste_bad.c @@ -0,0 +1,5 @@ +// RUN: clang -Eonly %s 2>&1 | grep error +// pasting ""x"" and ""+"" does not give a valid preprocessing token +#define XYZ x ## + +XYZ + |