Files
swift-mirror/test/ClangImporter/Inputs/custom-modules/CFAndObjC.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

12 lines
430 B
Objective-C

typedef const struct __attribute__((objc_bridge(id))) __MyProblematicObject *MyProblematicObjectRef;
@interface MyProblematicObject
@end
typedef float MyProblematicAlias;
typedef MyProblematicObjectRef MyProblematicAliasRef;
// For a CF type, it's okay to have the underlying struct pointer have
// the same name, since it won't get imported anyway.
typedef struct __attribute__((objc_bridge(id))) NotAProblem *NotAProblemRef;