add case provided by Volker Gietz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6bcccbe455
commit
3088e0e2af
1 changed files with 19 additions and 0 deletions
19
Examples/test-suite/template_typedef_ns.i
Normal file
19
Examples/test-suite/template_typedef_ns.i
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
%module template_typedef_ns
|
||||
|
||||
%inline {
|
||||
namespace Alpha {
|
||||
typedef int Integer;
|
||||
};
|
||||
|
||||
namespace Beta {
|
||||
template <typename Value>
|
||||
struct Alpha {
|
||||
Value x;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
%template(AlphaInt) Beta::Alpha<Alpha::Integer>;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue