[cfe-commits] r82121 - /cfe/trunk/test/CodeGenCXX/mangle-subst.cpp

Anders Carlsson andersca at mac.com
Wed Sep 16 21:13:54 PDT 2009


Author: andersca
Date: Wed Sep 16 23:13:54 2009
New Revision: 82121

URL: http://llvm.org/viewvc/llvm-project?rev=82121&view=rev
Log:
Convert mangle-subst.cpp over to using FileCheck.

Modified:
    cfe/trunk/test/CodeGenCXX/mangle-subst.cpp

Modified: cfe/trunk/test/CodeGenCXX/mangle-subst.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle-subst.cpp?rev=82121&r1=82120&r2=82121&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/mangle-subst.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mangle-subst.cpp Wed Sep 16 23:13:54 2009
@@ -1,20 +1,20 @@
-// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 && 
+// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct X {};
 
-// RUN: grep "define void @_Z1f1XS_" %t | count 1 &&
+// CHECK: define void @_Z1f1XS_
 void f(X, X) { }
 
-// RUN: grep "define void @_Z1fR1XS0_" %t | count 1 &&
+// CHECK: define void @_Z1fR1XS0_
 void f(X&, X&) { }
 
-// RUN: grep "define void @_Z1fRK1XS1_" %t | count 1 &&
+// CHECK: define void @_Z1fRK1XS1_
 void f(const X&, const X&) { }
 
 typedef void T();
 struct S {};
 
-// RUN: grep "define void @_Z1fPFvvEM1SFvvE" %t | count 1 &&
+// CHECK: define void @_Z1fPFvvEM1SFvvE
 void f(T*, T (S::*)) {}
 
 // RUN: true





More information about the cfe-commits mailing list