[cfe-commits] r38545 - /cfe/cfe/trunk/test/Preprocessor/includeexpand.c

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:22:25 PDT 2007


Author: sabre
Date: Wed Jul 11 11:22:25 2007
New Revision: 38545

URL: http://llvm.org/viewvc/llvm-project?rev=38545&view=rev
Log:
new testcase

Added:
    cfe/cfe/trunk/test/Preprocessor/includeexpand.c   (with props)

Added: cfe/cfe/trunk/test/Preprocessor/includeexpand.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Preprocessor/includeexpand.c?rev=38545&view=auto

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/includeexpand.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/includeexpand.c Wed Jul 11 11:22:25 2007
@@ -0,0 +1,12 @@
+// RUN: clang %s -fno-caret-diagnostics 2>&1 | grep 'file successfully included' | wc -l | grep 3
+
+// XX expands to nothing.
+#define XX
+
+#define FILE "file_to_include.h"
+#include XX FILE
+
+#include FILE
+
+
+#include "file_to_include.h"

Propchange: cfe/cfe/trunk/test/Preprocessor/includeexpand.c

------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cfe/cfe/trunk/test/Preprocessor/includeexpand.c

------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision





More information about the cfe-commits mailing list