%module xxx /* Regression test for bug introduced in 3.0.4 and fixed in 3.0.6 - the '%std' * here led to SWIG calling abort(). */ %typemap(jstype) std::vector, const %std::vector&, std::vector& "List" /* This used to give the rather cryptic "Syntax error in input(1)." prior to * SWIG 3.0.4. This testcase checks that the improved message is actually * issued. */ %remane("typo") tyop;