new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4107d3fa08
commit
6fb7cf7200
4 changed files with 56 additions and 0 deletions
14
SWIG/Examples/test-suite/defvalue_constructor.i
Normal file
14
SWIG/Examples/test-suite/defvalue_constructor.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
%module defvalue_constructor
|
||||
%inline %{
|
||||
|
||||
namespace Foo {
|
||||
|
||||
class Bar {};
|
||||
|
||||
class Baz {
|
||||
public:
|
||||
Baz(Bar b = Bar());
|
||||
};
|
||||
}
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue