aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/vtable-available-externally.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/vtable-available-externally.cpp')
-rw-r--r--test/CodeGenCXX/vtable-available-externally.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/CodeGenCXX/vtable-available-externally.cpp b/test/CodeGenCXX/vtable-available-externally.cpp
index 11c1abda4b..b6e48c8f8c 100644
--- a/test/CodeGenCXX/vtable-available-externally.cpp
+++ b/test/CodeGenCXX/vtable-available-externally.cpp
@@ -53,51 +53,3 @@ namespace Test2 {
void A::f() { }
}
-
-// Test that we don't assert on this test.
-namespace Test3 {
-
-struct A {
- virtual void f();
- virtual ~A() { }
-};
-
-struct B : A {
- B();
- virtual void f();
-};
-
-B::B() { }
-
-void g(A* a) {
- a->f();
-};
-
-}
-
-// PR9114, test that we don't try to emit a definition of
-namespace Test4 {
-
-template <class T> struct RefPtr {
- T* p;
- ~RefPtr() {
- p->deref();
- }
-};
-
-struct A {
- virtual ~A();
-};
-
-struct Node;
-
-struct B : A {
- virtual void deref();
- RefPtr<Node> m;
-};
-
-void f() {
- RefPtr<B> b;
-}
-
-}