diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/protected.cpp')
-rw-r--r-- | sources/shiboken6/tests/libsample/protected.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/protected.cpp b/sources/shiboken6/tests/libsample/protected.cpp index f6cdb3db1..7ab52d22b 100644 --- a/sources/shiboken6/tests/libsample/protected.cpp +++ b/sources/shiboken6/tests/libsample/protected.cpp @@ -5,3 +5,12 @@ int ProtectedVirtualDestructor::dtor_called = 0; +const char *ProtectedNonPolymorphic::dataTypeName(void *) const +{ + return "pointer"; +} + +const char *ProtectedNonPolymorphic::dataTypeName(int) const +{ + return "integer"; +} |