Files
swift-mirror/test/SILGen/Inputs/usr/include/NonNilTest.h
Jordan Rose a5d3178471 [test] Factor out a module just for objc_nonnull_lie_hack.swift.
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
2017-07-21 19:38:31 -06:00

8 lines
232 B
Objective-C

@import ObjectiveC;
@interface NonNilTest: NSObject
- (NonNilTest *)nonNilObject;
+ (NonNilTest *)nonNilObject;
@property NonNilTest *nonNilObjectProperty;
@property (unsafe_unretained) NonNilTest *unownedNonNilObjectProperty;
@end