diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-19 05:42:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-19 05:42:48 +0000 |
commit | 01ecf835c2f6f81c1cad2cf8f6320daeff8b162f (patch) | |
tree | 742860cfb5eeb0b2566131a5271b966d33b0d982 /clang/test/Preprocessor/macro_paste_simple.c | |
parent | a0d9bf4e836d3cd0d026f8f85a1d59253abc4b5d (diff) | |
download | bcm5719-llvm-01ecf835c2f6f81c1cad2cf8f6320daeff8b162f.tar.gz bcm5719-llvm-01ecf835c2f6f81c1cad2cf8f6320daeff8b162f.zip |
Implement basic token pasting (## operator). This implements
test/Preprocessor/macro_paste_simple.c and macro_paste_bad.c. There are
several known bugs still.
llvm-svn: 38733
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_simple.c')
-rw-r--r-- | clang/test/Preprocessor/macro_paste_simple.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_paste_simple.c b/clang/test/Preprocessor/macro_paste_simple.c new file mode 100644 index 00000000000..e8dc1e84045 --- /dev/null +++ b/clang/test/Preprocessor/macro_paste_simple.c @@ -0,0 +1,3 @@ +// clang %s -E | grep "barbaz123" + +#define FOO bar ## baz ## 123 |