blob: b7c86cd6aac786646c3c44d999352b869fa2b087 [file] [log] [blame]
Argyrios Kyrtzidis19b732a2009-07-30 00:03:55 +00001#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