From: Chris Lattner Date: Thu, 13 Apr 2006 17:26:54 +0000 (+0000) Subject: Don't get confused by dead casts. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=412a0bf58d22b90c3c7b5234bc727a116ee779ef;p=oota-llvm.git Don't get confused by dead casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr b/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr index 0475002c517..3596d68e5d0 100644 --- a/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr +++ b/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr @@ -1,5 +1,5 @@ // The code generated for this testcase should be completely typesafe! -// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast ' +// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | not grep ' cast ' struct contained { unsigned X; diff --git a/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr b/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr index 02b162ce91c..1d607a2ac95 100644 --- a/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr +++ b/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast ' +// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | not grep ' cast ' struct A { A() : i(0) {}