]> granicus.if.org Git - clang/commitdiff
Get rid of the last grep.
authorAnders Carlsson <andersca@mac.com>
Thu, 17 Sep 2009 03:48:45 +0000 (03:48 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 17 Sep 2009 03:48:45 +0000 (03:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82115 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/function-template-specialization.cpp

index e189f5dc735a2ff9713831e7b7f5ba29a01f2659..8dbaf2fe4d433f3b43a5e218e7132ea5420a5c00 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t && FileCheck %s --input-file=%t
+// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
 template<typename T, typename U>
 T* next(T* ptr, const U& diff);
 
@@ -23,6 +23,6 @@ T* next(T* ptr, const U& diff);
 void test2(int *iptr, double *dptr, int diff) {
   iptr = next(iptr, diff);
   // FIXME: should be "_Z4nextIdiEPT_S1_RKT0_"
-  // RUN: grep "_Z4nextIiiEPT_S0_RKT0_" %t
+  // CHECK: _Z4nextIiiEPT_S0_RKT0_
   dptr = next(dptr, diff);
 }