%module template_construct // Tests templates to make sure an extra <> in a constructor is ok. %inline %{ template class Foo { T y; public: Foo(T x) : y(x) { } }; %} %template(Foo_int) Foo;