[cfe-commits] r38759 - /cfe/cfe/trunk/test/Preprocessor/macro_disable3.c

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


Author: sabre
Date: Wed Jul 11 11:24:23 2007
New Revision: 38759

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

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

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

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/macro_disable3.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/macro_disable3.c Wed Jul 11 11:24:23 2007
@@ -0,0 +1,8 @@
+// RUN: clang %s -E | grep -F 'f(2 * (f(2 * (z[0]))));'
+// Check for C99 6.10.3.4p2.
+
+#define f(a) f(x * (a)) 
+#define x 2 
+#define z z[0] 
+f(f(z)); 
+

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

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

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

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





More information about the cfe-commits mailing list