blob: 82dbe7712472c77641d8eaa32c1602cb3057af10 [file] [log] [blame]
@import ObjectiveC;
@interface Foo : NSObject
@end
@protocol FooDelegate
- (void)foo:(Foo *)foo willConsumeObject:(id)obj __attribute__((swift_name("foo(_:willConsume:)")));
@end
@protocol OptionalButUnavailable
@optional
- (void)doTheThing:(id)thingToDoItWith __attribute__((unavailable));
@end