mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`long` is teated as `Int32` on Windows x86_64. `intptr_t` will be mapped to `Int` and `Int64`. This fixes the failing test on Windows which is LLP64 and should be equivalent on LP64 targets.
6 lines
204 B
Objective-C
6 lines
204 B
Objective-C
@import UnimportableMembers;
|
|
|
|
@interface DesignatedInitializerInAnotherModule (/*evil class extension*/)
|
|
- (instancetype)initFromOtherModule:(intptr_t)x __attribute__((objc_designated_initializer));
|
|
@end
|