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
Copy file name to clipboardExpand all lines: test/decl/func/functions.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -155,3 +155,7 @@ func testCurryFixits() {
155
155
func f5(_ x:Int)()(y:Int){} // expected-error{{curried function declaration syntax has been removed; use a single parameter list}} {{19-21=}} {{21-23=, }}
156
156
func f5a(_ x:Int, y:Int){}
157
157
}
158
+
159
+
// Bogus diagnostic talking about a 'var' where there is none
160
+
func invalidInOutParam(x:inoutXYZ){}
161
+
// expected-error@-1{{use of undeclared type 'XYZ'}}
0 commit comments