Don't get confused by dead casts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-04-13 17:26:54 +00:00
parent d9498ebcc3
commit 412a0bf58d
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) {}