[cfe-commits] r82115 - /cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp

Anders Carlsson andersca at mac.com
Wed Sep 16 20:48:45 PDT 2009


Author: andersca
Date: Wed Sep 16 22:48:45 2009
New Revision: 82115

URL: http://llvm.org/viewvc/llvm-project?rev=82115&view=rev
Log:
Get rid of the last grep.

Modified:
    cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp

Modified: cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp?rev=82115&r1=82114&r2=82115&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/function-template-specialization.cpp Wed Sep 16 22:48:45 2009
@@ -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 @@
 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);
 }





More information about the cfe-commits mailing list