aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/5.cc
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-10-29 15:31:54 +0000
committerCatherine Moore <clm@redhat.com>1999-10-29 15:31:54 +0000
commit7cdea22fb04c83d14e32004a2b602b6341fb486e (patch)
treeb838c8a22077db5d1cbb3bb03552fc17761a6616 /ld/testsuite/ld-selective/5.cc
parent4df2b5c55e71e8f1ba66ff0c5791da4f196879ae (diff)
downloadgdb-7cdea22fb04c83d14e32004a2b602b6341fb486e.zip
gdb-7cdea22fb04c83d14e32004a2b602b6341fb486e.tar.gz
gdb-7cdea22fb04c83d14e32004a2b602b6341fb486e.tar.bz2
Remove test6.
Diffstat (limited to 'ld/testsuite/ld-selective/5.cc')
-rw-r--r--ld/testsuite/ld-selective/5.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/ld/testsuite/ld-selective/5.cc b/ld/testsuite/ld-selective/5.cc
deleted file mode 100644
index 5179d91..0000000
--- a/ld/testsuite/ld-selective/5.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// This test currently fails because the C++ front end emits `A' as
-// the base class called rather than `B' as it ought. At least it
-// is erroring on the safe side...
-
-struct A
-{
- virtual void foo();
- virtual void bar();
-};
-
-void A::foo() { } // loose
-void A::bar() { } // loose
-
-struct B : public A
-{
- virtual void foo();
-};
-
-void B::foo() { } // keep
-
-void _start() __asm__("_start"); // keep
-
-A a;
-B b; // keep
-B *getme() { return &b; } // keep
-
-void _start()
-{
- getme()->foo();
-}
-
-extern "C" void __main() { }