Files
swift-mirror/test/IRGen/Inputs/usr/include/ObjCInterop.h
Saleem Abdulrasool d8552ceb9e IRGen: ensure that ObjC sections match on all targets
Adjust the IRGen for ObjC interop to ensure that the section that
metadata is emitted into the correct section for non-MachO targets.

This also adds a more comprehensive test for ensuring that the IRGen can
now be tested on all targets.  Since the ObjC interop is now
controllable via the driver, this test does not require that the
objc_interop feature is present as it is a IRGen test.

This is the first step to remove the `REQUIRES: objc_interop` from the
IRGen tests.
2017-12-03 15:55:44 -08:00

13 lines
126 B
Objective-C

@protocol P
@optional
- (void)method;
@end
@interface I
- (instancetype _Nonnull)init;
@end
I * _Nonnull f(I * _Nonnull);