new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0bd9a9d8ce
commit
c490d3d2e9
2 changed files with 13 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ CPP_TEST_CASES += \
|
|||
ignore_parameter \
|
||||
import_nomodule \
|
||||
inherit_missing \
|
||||
inline_initializer \
|
||||
kind \
|
||||
lib_carrays \
|
||||
lib_cdata \
|
||||
|
|
|
|||
12
SWIG/Examples/test-suite/inline_initializer.i
Normal file
12
SWIG/Examples/test-suite/inline_initializer.i
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
%module inline_initializer
|
||||
|
||||
%inline %{
|
||||
class Foo {
|
||||
int x;
|
||||
public:
|
||||
Foo(int a);
|
||||
};
|
||||
|
||||
Foo::Foo(int a) : x(a) { }
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue