add new broken case template_typedef_ptr

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-09 22:14:51 +00:00
commit c975833b27

View file

@ -0,0 +1,28 @@
%module template_typedef_ptr
%inline %{
struct C{};
typedef C* pC;
template <class A, class B>
struct Test
{
Test (A a, B b)
{
}
};
template <class A, class B>
struct Test<A, B*>
{
Test (A a, B* b)
{
}
};
%}
%template(test_pC) Test<int, pC>;