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:
Marcelo Matus 2005-03-16 19:55:15 +00:00
commit 3088e0e2af

View 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>;