Files
swift-mirror/validation-test/compiler_crashers_2_fixed/Inputs/rdar80704382.m
Nate Chandler 03e175a13e [Test] Added for call-as-async Optional<NS_EXTENSIBLE_STRING_ENUM>.
The underlying problem was fixed by the change for rdar://81590807 .
Add tests for the specific case that was originally reported.

rdar://80704382
2021-08-09 19:06:21 -07:00

24 lines
766 B
Objective-C

#include "rdar80704382.h"
#pragma clang assume_nonnull begin
@implementation PFXObject
- (instancetype)init {
if (self = [super init]) {
}
return self;
}
+ (void)getIdentifierForUserVisibleFileAtURL:(NSURL *)url
completionHandler:
(void (^)(FileProviderItemIdentifier __nullable
itemIdentifier,
FileProviderDomainIdentifier __nullable
domainIdentifier,
NSError *__nullable error))
completionHandler {
completionHandler(@"item_id", @"file_id", NULL);
}
@end
#pragma clang assume_nonnull end