mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This reapplies f1c48daf70 with the test split up so that the
availability bits don't affect other platforms.
Seen as @available attributes being printed with "_" in interface
generation, but fixing it in the importer means they can't leak into
anywhere else.
rdar://problem/30451293
7 lines
351 B
Objective-C
7 lines
351 B
Objective-C
@interface MaybeAvailable
|
|
-(void)method1 __attribute__((availability(macosx, introduced=10.1)));
|
|
-(void)method2 __attribute__((availability(macosx, introduced=10_1)));
|
|
-(void)method3 __attribute__((availability(macosx, deprecated=10_10)));
|
|
-(void)method4 __attribute__((availability(macosx, introduced=10_1, deprecated=10_10, obsoleted=10_11)));
|
|
@end
|