[cfe-commits] r38790 - /cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c

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


Author: sabre
Date: Wed Jul 11 11:24:39 2007
New Revision: 38790

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

Added:
    cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c   (with props)

Added: cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c?rev=38790&view=auto

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c Wed Jul 11 11:24:39 2007
@@ -0,0 +1,9 @@
+// Example from C99 6.10.3.4p7
+
+// RUN: clang -E %s | grep -F 'int j[] = { 123, 45, 67, 89,' &&
+// RUN: clang -E %s | grep -F '10, 11, 12, };'
+
+#define t(x,y,z) x ## y ## z 
+int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), 
+t(10,,), t(,11,), t(,,12), t(,,) }; 
+

Propchange: cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c

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

Propchange: cfe/cfe/trunk/test/Preprocessor/c99-6_10_3_4_p7.c

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





More information about the cfe-commits mailing list