File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ #if __OBJC__
2+
13@import Foundation;
24
35@interface ObjCBaseClass
186188
187189@end
188190
191+ @protocol EmptyObjCProto
192+ @end
193+
194+ #endif
195+
189196void CImplFunc1 (int param);
190197void CImplFunc2 (int param);
191198
192199void CImplFuncMismatch1 (int param);
193200void CImplFuncMismatch2 (int param);
201+
202+ #if __OBJC__
194203void CImplFuncMismatch3 (_Nullable id param);
195204void CImplFuncMismatch4 (_Nullable id param);
196205void CImplFuncMismatch5 (_Nonnull id param);
@@ -199,6 +208,8 @@ _Nullable id CImplFuncMismatch3a(int param);
199208_Nullable id CImplFuncMismatch4a (int param);
200209_Nonnull id CImplFuncMismatch5a (int param);
201210_Nonnull id CImplFuncMismatch6a (int param);
211+ #endif
212+
202213void CImplFuncNameMismatch1 (int param);
203214void CImplFuncNameMismatch2 (int param);
204215
@@ -212,6 +223,3 @@ void CImplStructStaticFunc1(int param) __attribute__((swift_name("CImplStruct.st
212223struct ObjCStruct {
213224 int foo;
214225};
215-
216- @protocol EmptyObjCProto
217- @end
You can’t perform that action at this time.
0 commit comments