[cfe-commits] r38641 - /cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:23:26 PDT 2007
Author: sabre
Date: Wed Jul 11 11:23:26 2007
New Revision: 38641
URL: http://llvm.org/viewvc/llvm-project?rev=38641&view=rev
Log:
new testcase
Added:
cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c (with props)
Added: cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c?rev=38641&view=auto
==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c Wed Jul 11 11:23:26 2007
@@ -0,0 +1,7 @@
+// RUN: clang %s -E 2>&1 | grep 'DO_PRAGMA (STR' &&
+// RUN: clang %s -E 2>&1 | grep '7:12'
+
+#define DO_PRAGMA _Pragma
+#define STR "GCC dependency \"parse.y\"")
+// Test that this line is printed by caret diagnostics.
+DO_PRAGMA (STR
Propchange: cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/test/Preprocessor/_Pragma-dependency.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
More information about the cfe-commits
mailing list