Cleanup tests, no functionality change.

llvm-svn: 129672
This commit is contained in:
Anders Carlsson 2011-04-17 21:49:47 +00:00
parent 56c4d80a4e
commit 2caf2074fd
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct A { int i; };
struct B { int j; };
struct B { char j; };
struct C : A, B { int k; };
struct D final : virtual C {

View File

@ -1,7 +1,7 @@
// RUN: %clang_cc1 -I%S %s -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -std=c++0x -o - | FileCheck %s
struct A { virtual ~A(); };
struct B final : A { };
struct C { virtual ~C(); };
struct C { virtual ~C(); int c; };
// CHECK: @_Z1fP1B
C *f(B* b) {

View File

@ -121,6 +121,7 @@ namespace zeroinit {
template<typename>
struct X3 : X2<int> {
X3() : X2<int>() { }
int i;
};
@ -133,7 +134,7 @@ namespace zeroinit {
X3<int>().f();
}
// CHECK: define linkonce_odr void @_ZN8zeroinit2X3IiEC2Ev(%struct.B* %this) unnamed_addr
// CHECK: define linkonce_odr void @_ZN8zeroinit2X3IiEC2Ev(%"struct.zeroinit::X3"* %this) unnamed_addr
// CHECK: call void @llvm.memset.p0i8.i64
// CHECK-NEXT: call void @_ZN8zeroinit2X2IiEC2Ev
// CHECK-NEXT: ret void