// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s

struct D;
struct B {
 virtual D& operator = (const D&);
};
struct D : B { D(); virtual void a(); };
void D::a() {}

// CHECK: @_ZTV1D = {{.*}} @_ZN1DaSERKS_ 

// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s

struct D;
struct B {
 virtual D& operator = (const D&);
};
struct D : B { D(); virtual void a(); };
void D::a() {}

// CHECK: @_ZTV1D = {{.*}} @_ZN1DaSERKS_ 
// CHECK: define linkonce_odr {{.*}} @_ZN1DaSERKS_

Tweak test to check for a bit more.
Tweak test to check for a bit more.



git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@90302 91177308-0d34-0410-b5e6-96231b3b80d8
