[cfe-commits] r38768 - /cfe/cfe/trunk/test/Preprocessor/macro_fn_varargs_named.c

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


Author: sabre
Date: Wed Jul 11 11:24:27 2007
New Revision: 38768

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

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

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

==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/macro_fn_varargs_named.c (added)
+++ cfe/cfe/trunk/test/Preprocessor/macro_fn_varargs_named.c Wed Jul 11 11:24:27 2007
@@ -0,0 +1,7 @@
+// RUN: clang -E %s | grep '^a: x$' &&
+// RUN: clang -E %s | grep '^b: x y, z,h$'
+
+#define A(b, c...) b c
+a: A(x)
+b: A(x, y, z,h)
+

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

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

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

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





More information about the cfe-commits mailing list