We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cc0019 + ecc2d1c commit 7739d78Copy full SHA for 7739d78
test/Serialization/AllowErrors/invalid-top.swift
@@ -36,9 +36,9 @@ func test(s: ValidType) {
36
// Check SIL diagnostics are still output (no reason not to output SIL since
37
// there were no errors)
38
func other() -> Int {}
39
-// CHECK-VALID: valid-uses.swift:10:22: error: missing return in global function expected to return 'Int'
+// CHECK-VALID: valid-uses.swift:10:22: error: missing return
40
func other2() -> Bool {}
41
-// CHECK-VALID: valid-uses.swift:12:24: error: missing return in global function expected to return 'Bool'
+// CHECK-VALID: valid-uses.swift:12:24: error: missing return
42
43
44
// BEGIN invalid-uses.swift
0 commit comments