aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-13 17:26:54 +0000
committerChris Lattner <sabre@nondot.org>2006-04-13 17:26:54 +0000
commit412a0bf58d22b90c3c7b5234bc727a116ee779ef (patch)
tree63d49dcf7e7d967556bfcbf52646fc63dc5de92e
parentd9498ebcc3f7d22b6bcc7edae852f9f794662adf (diff)
Don't get confused by dead casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr2
-rw-r--r--test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr b/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
index 0475002c51..3596d68e5d 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 02b162ce91..1d607a2ac9 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) {}