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.
1 parent ea07472 commit 2d63879Copy full SHA for 2d63879
test/SILOptimizer/swap_refcnt.swift
@@ -2,10 +2,10 @@
2
3
// Make sure we can swap two values in an array without retaining anything.
4
5
-//CHECK-LABEL: _TF11swap_refcnt11swapByIndex
6
-//CHECK-NOT: strong_retain
7
-//CHECK-NOT: strong_release
8
-//CHECK: return
+// CHECK-LABEL: sil @_TF11swap_refcnt11swapByIndex
+// CHECK-NOT: strong_retain
+// CHECK-NOT: strong_release
+// CHECK: return
9
public func swapByIndex(A: inout [Int8], x : Int, y : Int) {
10
swap(&A[x],&A[y])
11
}
0 commit comments