mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The ABI mismatch here would cause a crash in cases when the Foundation overlay wasn't available, or its implementation of swift_Foundation_getErrorDefaultUserInfo wasn't dynamically resolvable, such as in a stripped statically linked binary. Fixes rdar://problem/29173132.
8 lines
96 B
Objective-C
8 lines
96 B
Objective-C
@import Foundation;
|
|
|
|
@interface Foo: NSObject
|
|
|
|
- (BOOL)foo:(int)x error:(NSError**)error;
|
|
|
|
@end
|