aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/pp_unknowndirective.i
blob: b4e608b343fb3712ff2b759a75ed7159f0bf5513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%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<std::string>, const %std::vector<std::string>&, std::vector<std::string>&  "List<String>"

/* 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;