You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
374 B
Objective-C

#import "Test.h"
#import "stdio.h"
void poke_objcxx(void);
void check_uncaught_count(void);
void rethrow(id x)
{
@throw x;
}
int main(void)
{
@try {
printf("Poking from minRepM\n");
poke_objcxx();
printf("Poked from minRepM\n");
} @catch (Test *localException) {
printf("In NS_HANDLER block, %p\n", localException);
}
check_uncaught_count();
}