cpp_extend_redefine.i:9: Warning 302: Redefinition of identifier 'bar' by %extend ignored,
cpp_extend_redefine.i:5: Warning 302: %extend definition of 'bar'.
cpp_extend_redefine.i:14: Warning 322: Redundant redeclaration of identifier 'spam' as foo::spam() ignored,
cpp_extend_redefine.i:10: Warning 322: previous declaration of 'spam' as foo::spam().
