mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we ran into problems where this test used API notes for the 'gizmo' module and other tests did not, leading to potentially-invalid information being cached in Clang's module cache. That might actually no longer be an issue because textual API notes are now included directly, but even so it's cleaner to just have a dedicated module for this. rdar://problem/28313536
8 lines
232 B
Objective-C
8 lines
232 B
Objective-C
@import ObjectiveC;
|
|
|
|
@interface NonNilTest: NSObject
|
|
- (NonNilTest *)nonNilObject;
|
|
+ (NonNilTest *)nonNilObject;
|
|
@property NonNilTest *nonNilObjectProperty;
|
|
@property (unsafe_unretained) NonNilTest *unownedNonNilObjectProperty;
|
|
@end |