diff --git a/Examples/test-suite/template_typedef_ptr.i b/Examples/test-suite/template_typedef_ptr.i new file mode 100644 index 000000000..2bb441481 --- /dev/null +++ b/Examples/test-suite/template_typedef_ptr.i @@ -0,0 +1,28 @@ +%module template_typedef_ptr + +%inline %{ + struct C{}; + typedef C* pC; + + template + struct Test + { + Test (A a, B b) + { + } + + }; + + + template + struct Test + { + Test (A a, B* b) + { + } + + }; +%} + + +%template(test_pC) Test;