test include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
01ede93b1c
commit
d277c06bdc
2 changed files with 40 additions and 0 deletions
|
|
@ -14,3 +14,22 @@
|
|||
// Also repeats the test for the import directive in subdirectories
|
||||
|
||||
%include "testdir/test.i"
|
||||
|
||||
|
||||
// Bug #1162194
|
||||
%inline %{
|
||||
typedef struct {
|
||||
#include "inctest.h"
|
||||
} MY_TYPES;
|
||||
|
||||
%}
|
||||
|
||||
%{
|
||||
typedef struct {
|
||||
#include "inctest.h"
|
||||
} MY_THINGS;
|
||||
%}
|
||||
|
||||
typedef struct {
|
||||
%include "inctest.h"
|
||||
} MY_THINGS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue