[cfe-commits] r38626 - /cfe/cfe/trunk/test/Preprocessor/macro_defined.c

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:23:19 PDT 2007


Author: sabre
Date: Wed Jul 11 11:23:19 2007
New Revision: 38626

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

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

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

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/macro_defined.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/macro_defined.c Wed Jul 11 11:23:19 2007
@@ -0,0 +1,6 @@
+// RUN: clang %s -E 2>&1 | not grep error
+
+// This should not be rejected.
+#ifdef defined
+#endif
+

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

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

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

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





More information about the cfe-commits mailing list