mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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:
parent
d9498ebcc3
commit
412a0bf58d
@ -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;
|
||||
|
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user