[cfe-commits] r38575 - /cfe/cfe/trunk/test/Preprocessor/macro_expandloc.c

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


Author: sabre
Date: Wed Jul 11 11:22:51 2007
New Revision: 38575

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

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

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

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/macro_expandloc.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/macro_expandloc.c Wed Jul 11 11:22:51 2007
@@ -0,0 +1,6 @@
+// RUN: clang %s -E 2>&1 | grep '#include'
+#define FOO 1
+
+// The error message should be on the #include line, not the 1.
+#include FOO
+

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

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

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

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





More information about the cfe-commits mailing list