new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1f06d723a8
commit
b8f98e8cad
1 changed files with 18 additions and 0 deletions
18
Examples/test-suite/namespace_typedef_class.i
Normal file
18
Examples/test-suite/namespace_typedef_class.i
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
%module namespace_typedef_class
|
||||||
|
|
||||||
|
%inline %{
|
||||||
|
namespace ns {
|
||||||
|
|
||||||
|
struct S1
|
||||||
|
{
|
||||||
|
int n;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
int n;
|
||||||
|
} S2;
|
||||||
|
}
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue