aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother')
-rw-r--r--tests/libother/otherderived.cpp6
-rw-r--r--tests/libother/otherderived.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/libother/otherderived.cpp b/tests/libother/otherderived.cpp
index 10529ee2d..5659fe0cf 100644
--- a/tests/libother/otherderived.cpp
+++ b/tests/libother/otherderived.cpp
@@ -54,6 +54,12 @@ OtherDerived::pureVirtual()
{
}
+void*
+OtherDerived::pureVirtualReturningVoidPtr()
+{
+ return 0;
+}
+
void
OtherDerived::unpureVirtual()
{
diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h
index ff425da53..4aae12aa9 100644
--- a/tests/libother/otherderived.h
+++ b/tests/libother/otherderived.h
@@ -49,6 +49,7 @@ public:
OtherDerived(int id = -1);
virtual ~OtherDerived();
virtual void pureVirtual();
+ virtual void* pureVirtualReturningVoidPtr();
virtual void unpureVirtual();
virtual PrintFormat returnAnEnum() { return Short; }