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 | 91baecfeb3c23d6ebd93583ced233aa070e6feea (patch) | |
tree | 427763d0004d8cb25fd9aaac20118cfd8228ebc8 /clang/test/CodeGenCXX/vtable-pointer-initialization.cpp | |
parent | 92b761cf4b6cd4ee686f928d35fca69836f0804a (diff) | |
download | bcm5719-llvm-91baecfeb3c23d6ebd93583ced233aa070e6feea.tar.gz bcm5719-llvm-91baecfeb3c23d6ebd93583ced233aa070e6feea.zip |
Back out r101911 and see if it makes the bots happy.
llvm-svn: 101921
Diffstat (limited to 'clang/test/CodeGenCXX/vtable-pointer-initialization.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/vtable-pointer-initialization.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
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() { } -} |