mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Function builders] Test with an lvalue subject
This commit is contained in:
@@ -593,7 +593,8 @@ testSwitch(getE(1))
|
||||
// CHECK-SAME: second("just 42")
|
||||
testSwitch(getE(2))
|
||||
|
||||
func testSwitchCombined(_ e: E) {
|
||||
func testSwitchCombined(_ eIn: E) {
|
||||
var e = eIn
|
||||
tuplify(true) { c in
|
||||
"testSwitchCombined"
|
||||
switch e {
|
||||
|
||||
Reference in New Issue
Block a user