Fix ObjC++ interop bug.
The reworked wrapping of C++ exceptions meant that we were missing a dereference of the result of __cxa_begin_catch. Add a test that triggers this issue. It would have occurred in the non-ARC version if we actually did anything with the exception, but compiling it in ARC mode makes the compiler insert retain / autorelease around the exception object to ensure that it remains live.main
parent
8e59872681
commit
aa775cf835
Loading…
Reference in New Issue