   }
 }
 
-// CHECK-LABEL: COW Array Opts in Func {{.*}}hoist2DArray
-// CHECK: Hoisting make_mutable
-// CHECK: COW Array Opts
+// TEST13-LABEL: COW Array Opts in Func {{.*}}hoist2DArray
+// TEST13: Hoisting make_mutable
+// TEST13: COW Array Opts
 
 func hoist2DArray(inout a: [[Int]]) {
   for i in 0 ..< a.count {

// RUN: %target-swift-frontend -O -emit-sil -Xllvm -debug-only=cowarray-opts -primary-file %s 2>&1 | FileCheck %s
// REQUIRES: rdar://23681223
// asserts,swift_stdlib_no_asserts,optimized_stdlib

// CHECK-LABEL: COW Array Opts in Func {{.*}}inoutarr{{.*}}
// CHECK: Hoisting make_mutable
// CHECK: COW Array Opts
func inoutarr(inout a: [Int]) {
  for i in 0..<a.count {
    a[i] = 0

    }
  }

// TEST12-LABEL: COW Array Opts in Func {{.*}}dontHoist2DArray3
// TEST12-NOT: Hoisting make_mutable
// TEST12: COW Array Opts

  func dontHoist2DArray3() {
    for i in 0 ..< A.count {
