fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6b2f534ff0
commit
c41f10fd9c
5 changed files with 28 additions and 5 deletions
|
|
@ -57,3 +57,20 @@ namespace hello
|
|||
}
|
||||
|
||||
%}
|
||||
|
||||
|
||||
%inline {
|
||||
namespace foo {
|
||||
typedef double mytype;
|
||||
};
|
||||
|
||||
// global namespace
|
||||
typedef float mytype;
|
||||
|
||||
using namespace foo;
|
||||
|
||||
struct X {
|
||||
::mytype d;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue