Files
swift-mirror/test/ClangImporter/Inputs/protocol-member-renaming.h
Jordan Rose 61798ff6ec [test] Rename test/ClangModules to test/ClangImporter. (#5618)
...to match the component in include/ and lib/. No content change.
2016-11-02 18:00:53 -07:00

14 lines
299 B
Objective-C

@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