t1.m revision 1787b70a928b481fb2333d6c14cf91de26f4609e
1#include "objc.h"
2
3static void foo() {
4  Base *base;
5  int x = [base my_var];
6  [base my_method:x];
7  [Base my_method:x];
8}
9
10@implementation Base
11-(int) my_var {
12  return my_var;
13}
14
15-(void) my_method: (int)param {
16}
17
18+(void) my_method: (int)param {
19}
20@end
21