// Tests compilation of uninstantiated templates in a namespace %module template_ns2 %inline %{ namespace foo { template class bar { }; bar *test1(bar *x) { return x; } typedef int Integer; bar *test2(bar *x) { return x; } } %}