aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-12-01 16:53:57 +0000
committerIan Lance Taylor <ian@airs.com>2010-12-01 16:53:57 +0000
commite5e19edd4853ac4add8c4db7fa02607a869ebfb1 (patch)
tree42b9690825f083552640b641daa72537aafa94ef /gold/testsuite
parent9a5ce24c61f4e00384172807992e253ea0400874 (diff)
downloadgdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.zip
gdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.tar.gz
gdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.tar.bz2
* testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
virtual destructor.
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/icf_virtual_function_folding_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/testsuite/icf_virtual_function_folding_test.cc b/gold/testsuite/icf_virtual_function_folding_test.cc
index 1ba3e73..ba063c8 100644
--- a/gold/testsuite/icf_virtual_function_folding_test.cc
+++ b/gold/testsuite/icf_virtual_function_folding_test.cc
@@ -36,6 +36,7 @@ namespace
class Bar
{
public:
+ virtual ~Bar() { }
virtual int fn1();
};