Files
swift-mirror/test/IDE/Inputs/custom-modules/ImportedProtocols.h
Doug Gregor 823c24b355 [SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00

21 lines
417 B
Objective-C

#ifndef IMPORTED_PROTOCOLS_H
#define IMPORTED_PROTOCOLS_H
@import Foundation;
@protocol ImportedProtocolBase;
@protocol ImportedProtocolBase <NSObject>
@end
typedef NSObject<ImportedProtocolBase> * ImportedProtocolBase_t;
@protocol IPSub;
@protocol IPSub <ImportedProtocolBase>
@end
typedef NSObject<IPSub> * IPSub_t;
typedef NSObject<IPSub> * Dummy;
void takesIPSub(IPSub_t in);
#endif // IMPORTED_PROTOCOLS_H