new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
475f966f00
commit
d17b4065ce
2 changed files with 17 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ CPP_TEST_CASES += \
|
|||
import_nomodule \
|
||||
inherit_missing \
|
||||
inline_initializer \
|
||||
inherit_void_arg \
|
||||
kind \
|
||||
lib_carrays \
|
||||
lib_cdata \
|
||||
|
|
|
|||
16
SWIG/Examples/test-suite/inherit_void_arg.i
Normal file
16
SWIG/Examples/test-suite/inherit_void_arg.i
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%module inherit_void_arg
|
||||
|
||||
%inline %{
|
||||
|
||||
class A {
|
||||
public:
|
||||
virtual void f(void) = 0;
|
||||
};
|
||||
|
||||
class B : public A {
|
||||
public:
|
||||
void f() { }
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue