add testcase with longjmp and c++ exception catching in the same function