1 2 3 4 5 6
%module xxx // Extra brackets was segfaulting in SWIG-3.0.0 struct ABC { int operator<<(ABC &))) { return 0; } };