Public feed
#724470
#include <objc/Object.h>
@interface Test : Object
- init;
@end
@implementation Test
-init
{
@throw([Object new]);
}
@end
int main(void)
{
Test *test;
@try
{
test = [Test new];
}
@catch(Object *obj)
{
printf("exception thrown\n");
}
}