From: Chris Lattner Date: Wed, 4 Feb 2009 19:38:12 +0000 (+0000) Subject: rename some tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72650adf04c2d08a47a4cbfdac4258b391c1e786;p=clang rename some tests git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/includeexpand2.c b/test/Preprocessor/include-directive2.c similarity index 100% rename from test/Preprocessor/includeexpand2.c rename to test/Preprocessor/include-directive2.c diff --git a/test/Preprocessor/includeexpand.c b/test/Preprocessor/include.c similarity index 50% rename from test/Preprocessor/includeexpand.c rename to 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 +# include HEADER +