diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-04 19:38:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-04 19:38:12 +0000 |
commit | 72650adf04c2d08a47a4cbfdac4258b391c1e786 (patch) | |
tree | 78efe1752ab0171e43d7a802ade717e07efb1f5f | |
parent | 4da9f9cbb94269f55cef697f18c5a7f14bc542d4 (diff) |
rename some tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63759 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Preprocessor/include-directive2.c (renamed from test/Preprocessor/includeexpand2.c) | 0 | ||||
-rw-r--r-- | test/Preprocessor/include.c (renamed from test/Preprocessor/includeexpand.c) | 10 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/Preprocessor/includeexpand2.c b/test/Preprocessor/include-directive2.c index 9e08272d03..9e08272d03 100644 --- a/test/Preprocessor/includeexpand2.c +++ b/test/Preprocessor/include-directive2.c diff --git a/test/Preprocessor/includeexpand.c b/test/Preprocessor/include.c index 89696c470c..0e78b38040 100644 --- a/test/Preprocessor/includeexpand.c +++ b/test/Preprocessor/include.c @@ -1,12 +1,18 @@ -// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3 +// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 4 // XX expands to nothing. #define XX +// expand macros to get to file to include #define FILE "file_to_include.h" #include XX FILE #include FILE - +// normal include #include "file_to_include.h" + +// Expand and paste angled strings. +# define HEADER <file_to_include.h> +# include HEADER + |