[cfe-commits] r91265 - /cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
Chris Lattner
sabre at nondot.org
Sun Dec 13 20:57:53 PST 2009
Author: lattner
Date: Sun Dec 13 22:57:53 2009
New Revision: 91265
URL: http://llvm.org/viewvc/llvm-project?rev=91265&view=rev
Log:
filecheckize
Modified:
cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
Modified: cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c?rev=91265&r1=91264&r2=91265&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c (original)
+++ cfe/trunk/test/Preprocessor/macro_fn_disable_expand.c Sun Dec 13 22:57:53 2009
@@ -1,11 +1,10 @@
-// RUN: clang-cc %s -E | grep 'bar foo (2)'
-// RUN: clang-cc %s -E | grep 'm(ABCD)'
+// RUN: clang-cc %s -E | FileCheck %s
#define foo(x) bar x
foo(foo) (2)
-
+// CHECK: bar foo (2)
#define m(a) a(w)
#define w ABCD
-m(m) // m(ABCD)
-
+m(m)
+// CHECK: m(ABCD)
More information about the cfe-commits
mailing list