this repo has no description
at fixPythonPipStalling 24 lines 429 B view raw
1// CFLAGS: -framework foundation 2#include <stdio.h> 3#import <Foundation/NSException.h> 4#import <Foundation/NSAutoreleasePool.h> 5 6int main() 7{ 8 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 9 @try 10 { 11 @throw([NSException exceptionWithName: @"MyException" reason:@"Test" userInfo:nil]); 12 } 13 @catch(NSException* e) 14 { 15 puts([[e name] UTF8String]); 16 } 17 @finally 18 { 19 puts("Finally"); 20 } 21 [pool release]; 22 return 0; 23} 24