From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Preprocessor/comment_save_macro.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 clang/test/Preprocessor/comment_save_macro.c (limited to 'clang/test/Preprocessor/comment_save_macro.c') diff --git a/clang/test/Preprocessor/comment_save_macro.c b/clang/test/Preprocessor/comment_save_macro.c new file mode 100644 index 0000000..6ad759f --- /dev/null +++ b/clang/test/Preprocessor/comment_save_macro.c @@ -0,0 +1,13 @@ +// RUN: %clang_cc1 -E -C %s | FileCheck -check-prefix=CHECK-C -strict-whitespace %s +// CHECK-C: boo bork bar // zot + +// RUN: %clang_cc1 -E -CC %s | FileCheck -check-prefix=CHECK-CC -strict-whitespace %s +// CHECK-CC: boo bork /* blah*/ bar // zot + +// RUN: %clang_cc1 -E %s | FileCheck -check-prefix=CHECK -strict-whitespace %s +// CHECK: boo bork bar + + +#define FOO bork // blah +boo FOO bar // zot + -- cgit v1.2.3