1#include "objc.h" 2 3static void foo() { 4 Sub *sub; 5 int x = [sub my_var]; 6 [sub my_method:x]; 7 [Sub my_method:x]; 8} 9 10@implementation Sub 11-(void) my_method: (int)param { 12} 13@end 14