Files
swift-mirror/test/Concurrency/Runtime/Inputs/objc_async.h
2021-04-02 08:33:22 -07:00

20 lines
488 B
Objective-C

#include <Foundation/Foundation.h>
@interface Butt: NSObject
- (instancetype _Nonnull)init;
- (void)butt:(NSInteger)x completionHandler:(void (^ _Nonnull)(NSInteger))handler;
@end
@interface Farm: NSObject
-(void)getDogWithCompletion:(void (^ _Nonnull)(NSInteger))completionHandler
__attribute__((swift_async_name("getter:doggo()")));
-(void)obtainCat:(void (^ _Nonnull)(NSInteger, NSError* _Nullable))completionHandler
__attribute__((swift_async_name("getter:catto()")));
@end