diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-20 18:05:10 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-20 18:05:10 +0000 |
commit | 3e79c30807c516e8d32e4ed08408b30605df5997 (patch) | |
tree | 3e1ce187740c970b27c866f2883427728e73bba3 /test/CodeGenCXX/vtable-pointer-initialization.cpp | |
parent | 23402af16608841be8dbcb9ddaf885c267c20489 (diff) |
Back out r101911 and see if it makes the bots happy.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vtable-pointer-initialization.cpp')
-rw-r--r-- | test/CodeGenCXX/vtable-pointer-initialization.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/CodeGenCXX/vtable-pointer-initialization.cpp b/test/CodeGenCXX/vtable-pointer-initialization.cpp index ca8fb9be88..75620ab8e6 100644 --- a/test/CodeGenCXX/vtable-pointer-initialization.cpp +++ b/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() { } -} |