[cfe-commits] r38738 - /cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:24:14 PDT 2007
Author: sabre
Date: Wed Jul 11 11:24:13 2007
New Revision: 38738
URL: http://llvm.org/viewvc/llvm-project?rev=38738&view=rev
Log:
Make this testcase more interesting, actually add a RUN line.
Modified:
cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
Modified: cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c?rev=38738&r1=38737&r2=38738&view=diff
==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c (original)
+++ cfe/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c Wed Jul 11 11:24:13 2007
@@ -1,5 +1,11 @@
-// clang %s -E | grep 'bar foo (2)'
+// RUN: clang %s -E | grep 'bar foo (2)' &&
+// RUN: clang %s -E | grep 'm(ABCD)'
#define foo(x) bar x
foo(foo) (2)
+
+#define m(a) a(w)
+#define w ABCD
+m(m) // m(ABCD)
+
More information about the cfe-commits
mailing list