Don't get confused by dead casts.
authorChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 17:26:54 +0000 (17:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 17:26:54 +0000 (17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr

index 0475002c517182c6fbaef03175b98e32e9d0a683..3596d68e5d0cc23a56a033debf0da50c21e1a8aa 100644 (file)
@@ -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;
index 02b162ce91c8c663f705f3bc4953689c705cfb68..1d607a2ac95469f46e1d334d54157262e1f045dc 100644 (file)
@@ -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) {}