1#import <Foundation/Foundation.h> 2 3id g_obj_ptr = nil; 4 5int 6main() 7{ 8 g_obj_ptr = @"Some NSString"; 9 NSLog(@"My string was %@.", g_obj_ptr); 10 return 0; 11} 12