Fix seg fault with extra ) brackets and >>
This commit is contained in:
parent
5feaa79176
commit
aa4b14a3d2
3 changed files with 38 additions and 6 deletions
9
Examples/test-suite/errors/cpp_extra_brackets2.i
Normal file
9
Examples/test-suite/errors/cpp_extra_brackets2.i
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
%module cpp_extra_brackets
|
||||
|
||||
// Extra brackets was segfaulting in SWIG-3.0.0
|
||||
struct ABC {
|
||||
;
|
||||
)))
|
||||
int operator<<(ABC &) { return 0; }
|
||||
int operator>>(ABC &) { return 0; }
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue