[cfe-commits] r38576 - /cfe/cfe/trunk/test/Preprocessor/macro_expandloc2.c

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


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

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

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

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

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

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

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

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

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





More information about the cfe-commits mailing list