From 91baecfeb3c23d6ebd93583ced233aa070e6feea Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Tue, 20 Apr 2010 18:05:10 +0000 Subject: Back out r101911 and see if it makes the bots happy. llvm-svn: 101921 --- .../CodeGenCXX/vtable-pointer-initialization.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'clang/test/CodeGenCXX/vtable-pointer-initialization.cpp') diff --git a/clang/test/CodeGenCXX/vtable-pointer-initialization.cpp b/clang/test/CodeGenCXX/vtable-pointer-initialization.cpp index ca8fb9be88a..75620ab8e62 100644 --- a/clang/test/CodeGenCXX/vtable-pointer-initialization.cpp +++ b/clang/test/CodeGenCXX/vtable-pointer-initialization.cpp @@ -55,23 +55,3 @@ void f() { B b; } // CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1B, i64 0, i64 2) // CHECK: call void @_ZN5FieldC1Ev // CHECK: ret void - -namespace Test1 { - -// Test that we don't assert when initializing the vtable pointers in C. -struct A { - virtual void a(); - int i; -}; - -struct B : virtual A { - virtual void b(); -}; - -struct C : A, virtual B { - virtual void c(); - C(); -}; - -C::C() { } -} -- cgit v1.2.3