Skip to content

Commit cb95dad

Browse files
committed
Test @_objcImpl stored property access semantics
Accessing a stored property from a normal method should send a selector, but accessing it from an initializer or accessor should use the field offset.
1 parent e83d58d commit cb95dad

File tree

3 files changed

+103
-32
lines changed

3 files changed

+103
-32
lines changed

test/IRGen/Inputs/objc_implementation.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
@interface ImplClass: NSObject
44

5+
- (nonnull instancetype)init;
6+
57
@property (assign) int implProperty;
68

79
- (void)mainMethod:(int)param;

0 commit comments

Comments
 (0)