[lang-ref] ( labeled_parameter ) ( swift )

@Test func labeledParameter() {
	// func func01(a: Int, b: Int) -> Int

	func func01(a: Int, b: Int) -> Int {
		return a + b
	}

	let r = func01(a: 3, b: 5)

	#expect(r == 8)

	// Note: In Swift, argument order is fixed; labels don’t allow reordering.
	// let r = func01(b: 5, a: 3) // compile error
}