mirror of https://github.com/swig/swig
Add another recently fixed case
Fixed by 3f4ed82945
.
See #1589 and #3011.
This commit is contained in:
parent
61c542162c
commit
2d717988c2
|
@ -6,6 +6,10 @@ template <decltype(true) X = true>
|
||||||
void A() { }
|
void A() { }
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
// Additional test for #1589 (just check SWIG can parse this).
|
||||||
|
%ignore x1589;
|
||||||
|
int x1589(int y = std::declval<M>().begin()->first) { return y; }
|
||||||
|
|
||||||
// %template(A) A<>; // not working
|
// %template(A) A<>; // not working
|
||||||
%template(A) A<true>; // workaround
|
%template(A) A<true>; // workaround
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue