Skip to content

Commit 9bc5ef1

Browse files
committed
[Test] Update test and target to 5.6 aligned.
The test emits a different function based on deployment target. And that different function results in different behavior. But some platforms don't have old enough deployment targets to use the function for older platforms. So just target newer platforms. rdar://124700033
1 parent 4c5558d commit 9bc5ef1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Interpreter/builtin_bridge_object.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-run-simple-swift(-Onone -parse-stdlib -Xfrontend -enable-copy-propagation) | %FileCheck %s --check-prefixes=CHECK,CHECK-DBG
2-
// RUN: %target-run-simple-swift(-O -parse-stdlib -Xfrontend -enable-copy-propagation) | %FileCheck --check-prefixes=CHECK,CHECK-OPT %s
1+
// RUN: %target-run-simple-swift(-Onone -parse-stdlib -Xfrontend -enable-copy-propagation -target %target-swift-abi-5.6-triple) | %FileCheck %s --check-prefixes=CHECK,CHECK-DBG
2+
// RUN: %target-run-simple-swift(-O -parse-stdlib -Xfrontend -enable-copy-propagation -target %target-swift-abi-5.6-triple) | %FileCheck --check-prefixes=CHECK,CHECK-OPT %s
33

44
// REQUIRES: executable_test
55
// REQUIRES: objc_interop
@@ -160,7 +160,7 @@ if true {
160160

161161
var bo3 = nonNativeBridgeObject(unTaggedString)
162162
print(Bool(_builtinBooleanLiteral: Builtin.isUnique(&bo3)))
163-
// CHECK-NEXT: false
163+
// CHECK-NEXT: true
164164
_fixLifetime(bo3)
165165
}
166166

0 commit comments

Comments
 (0)