Don't get confused by dead casts.

llvm-svn: 27662
This commit is contained in:
Chris Lattner 2006-04-13 17:26:54 +00:00
parent 3b84d9a162
commit 2d2f3ef792
2 changed files with 2 additions and 2 deletions

View 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;

View 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) {}