diff --git a/Examples/test-suite/cpp11_template_parameters_decltype.i b/Examples/test-suite/cpp11_template_parameters_decltype.i index 0d05bb886..04668002d 100644 --- a/Examples/test-suite/cpp11_template_parameters_decltype.i +++ b/Examples/test-suite/cpp11_template_parameters_decltype.i @@ -6,6 +6,10 @@ template void A() { } %} +// Additional test for #1589 (just check SWIG can parse this). +%ignore x1589; +int x1589(int y = std::declval().begin()->first) { return y; } + // %template(A) A<>; // not working %template(A) A; // workaround