summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-selective/4.cc')
-rw-r--r--ld/testsuite/ld-selective/4.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/ld/testsuite/ld-selective/4.cc b/ld/testsuite/ld-selective/4.cc
deleted file mode 100644
index 9df26ac872c..00000000000
--- a/ld/testsuite/ld-selective/4.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-struct A
-{
- virtual void foo();
- virtual void bar();
-};
-
-void A::foo() { } // loose
-void A::bar() { } // keep
-
-struct B : public A
-{
- virtual void foo();
-};
-
-void B::foo() { } // loose
-
-void _start() __asm__("_start"); // keep
-
-A a; // keep
-B b;
-A *getme() { return &a; } // keep
-
-void _start()
-{
- getme()->bar();
-}
-
-extern "C" void __main() { }