You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit diagnoses cdecl implementations with no matching imported declaration, and also runs them through the ObjCImplementationChecker. Actually testing that the ObjCImplementationChecker diagnoses various failure conditions correctly will be added in a subsequent commit.
Copy file name to clipboardExpand all lines: test/decl/ext/objc_implementation.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -476,7 +476,7 @@ func CImplFunc2(_: Int32) {
476
476
477
477
@_objcImplementation@_cdecl("CImplFuncMissing")
478
478
func CImplFuncMissing(_:Int32){
479
-
// FIXME: expected-DISABLED-error@-1 {{fnord}}
479
+
// expected-error@-2 {{could not find imported function 'CImplFuncMissing' matching global function 'CImplFuncMissing'; make sure your umbrella or bridging header imports the header that declares it}}
0 commit comments