summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_cpp.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc
index 216e5231..176b5266 100644
--- a/tests/test_cpp.cc
+++ b/tests/test_cpp.cc
@@ -89,6 +89,7 @@ class A {public:
GC_ATTR_EXPLICIT A( int iArg ): i( iArg ) {}
void Test( int iArg ) {
my_assert( i == iArg );}
+ virtual ~A() {}
int i;};