summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/function-template-specialization.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-17 03:48:45 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-17 03:48:45 +0000
commit3e0d1e07475c801cc877f95cc3949d238e56231c (patch)
tree267527940754453740aa0bca0cde9c239626da96 /clang/test/CodeGenCXX/function-template-specialization.cpp
parentdf644fb773ed4fb8020208765b2fdcc52da46518 (diff)
downloadbcm5719-llvm-3e0d1e07475c801cc877f95cc3949d238e56231c.tar.gz
bcm5719-llvm-3e0d1e07475c801cc877f95cc3949d238e56231c.zip
Get rid of the last grep.
llvm-svn: 82115
Diffstat (limited to 'clang/test/CodeGenCXX/function-template-specialization.cpp')
-rw-r--r--clang/test/CodeGenCXX/function-template-specialization.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/function-template-specialization.cpp b/clang/test/CodeGenCXX/function-template-specialization.cpp
index e189f5dc735..8dbaf2fe4d4 100644
--- a/clang/test/CodeGenCXX/function-template-specialization.cpp
+++ b/clang/test/CodeGenCXX/function-template-specialization.cpp
@@ -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);
}
OpenPOWER on IntegriCloud