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