%module xxx template T blah(T x) { }; %template(iblah) blah; %template(iiblah) blah; // The second %template instantiation above should surely be ignored with a warning, but doesn't atm