1 | #include <Foundation/NSObject.h> |
---|---|
2 | |
3 | @interface F : NSObject |
4 | @end |
5 | |
6 | @implementation F |
7 | { |
8 | @public |
9 | int f; |
10 | } |
11 | |
12 | @end |
13 | |
14 | int main(int argc, char* argv[]) |
15 | { |
16 | F* f = [F new]; |
17 | f->f = 3; |
18 | return 0; // breakpoint 1 |
19 | } |
20 |
1 | #include <Foundation/NSObject.h> |
---|---|
2 | |
3 | @interface F : NSObject |
4 | @end |
5 | |
6 | @implementation F |
7 | { |
8 | @public |
9 | int f; |
10 | } |
11 | |
12 | @end |
13 | |
14 | int main(int argc, char* argv[]) |
15 | { |
16 | F* f = [F new]; |
17 | f->f = 3; |
18 | return 0; // breakpoint 1 |
19 | } |
20 |