@import Base;
@import ObjectiveC;

BaseClass *getBaseClassObjC();
void useBaseClassObjC(BaseClass *);

@interface UserClass : NSObject <BaseProto>
@end

id <BaseProto> getBaseProtoObjC();
void useBaseProtoObjC(id <BaseProto>);


@interface BaseClass (ObjCExtensions)
- (void)categoryMethod;
@end


@import Base;
@import ObjectiveC;

BaseClass *getBaseClassObjC();
void useBaseClassObjC(BaseClass *);

@interface UserClass : NSObject <BaseProto>
@end

id <BaseProto> getBaseProtoObjC();
void useBaseProtoObjC(id <BaseProto>);


--- 
+++ 
@@ -10,3 +10,8 @@
 id <BaseProto> getBaseProtoObjC();
 void useBaseProtoObjC(id <BaseProto>);
 
+
+@interface BaseClass (ObjCExtensions)
+- (void)categoryMethod;
+@end
+
[ClangImporter] Add a test for ObjC categories on Swift classes.

...that get unified by the importer.

Swift SVN r15083
