Skip to content

Commit defb819

Browse files
committed
[Test] Tightened check lines.
Expect yield_once_2 for callee-allocated coroutines.
1 parent 560fe75 commit defb819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/coroutine_accessors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public var _i: Int = 0
1717

1818
public var irm: Int {
1919
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivy :
20-
// CHECK-SAME: $@yield_once
20+
// CHECK-SAME: $@yield_once_2
2121
// CHECK-SAME: @convention(method)
2222
// CHECK-SAME: (@guaranteed S)
2323
// CHECK-SAME: ->
@@ -28,7 +28,7 @@ public var irm: Int {
2828
yield _i
2929
}
3030
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivx :
31-
// CHECK-SAME: $@yield_once
31+
// CHECK-SAME: $@yield_once_2
3232
// CHECK-SAME: @convention(method)
3333
// CHECK-SAME: (@inout S)
3434
// CHECK-SAME: ->

0 commit comments

Comments
 (0)