Skip to content

Commit 2d2f3ef

Browse files
committed
Don't get confused by dead casts.
llvm-svn: 27662
1 parent 3b84d9a commit 2d2f3ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/Regression/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// The code generated for this testcase should be completely typesafe!
2-
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast '
2+
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | not grep ' cast '
33

44
struct contained {
55
unsigned X;

llvm/test/Regression/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast '
1+
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | not grep ' cast '
22

33
struct A {
44
A() : i(0) {}

0 commit comments

Comments
 (0)