diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-03 19:16:00 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-03 19:16:00 +0000 |
commit | 2f621b72f40247e7670859090689ad8072fc073e (patch) | |
tree | 9a09aed656bfa18b9fb0286be8bf3a15da3a7295 /clang/test/Preprocessor/macro_paste_spacing2.c | |
parent | 1de5cf548eea2601dd3d321fc502fd0432b05ca7 (diff) | |
download | bcm5719-llvm-2f621b72f40247e7670859090689ad8072fc073e.tar.gz bcm5719-llvm-2f621b72f40247e7670859090689ad8072fc073e.zip |
Fix for PR4132: make sure to insert whitespace consistently before a
pasted token.
llvm-svn: 70793
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_spacing2.c')
-rw-r--r-- | clang/test/Preprocessor/macro_paste_spacing2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_paste_spacing2.c b/clang/test/Preprocessor/macro_paste_spacing2.c new file mode 100644 index 00000000000..460b022b37e --- /dev/null +++ b/clang/test/Preprocessor/macro_paste_spacing2.c @@ -0,0 +1,5 @@ +// RUN: clang-cc %s -E | grep "movl %eax" + +#define R1E %eax +#define epilogue(r1) movl r1; +epilogue(R1E) |