Skip to content

Commit 1e45072

Browse files
authored
Merge pull request #41495 from nate-chandler/test/20220221/1
[Test] Reenabled test.
2 parents 372b2be + f79f26f commit 1e45072

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

validation-test/SILOptimizer/lexical-lifetimes.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking -parse-as-library -Xfrontend -enable-copy-propagation) | %FileCheck %s
1+
// RUN: %target-run-simple-swift(-Xfrontend -disable-availability-checking -parse-as-library -Xfrontend -enable-copy-propagation -Xllvm -enable-destroy-hoisting=false) | %FileCheck %s
22

33
// REQUIRES: executable_test
44
// REQUIRES: concurrency
@@ -101,7 +101,7 @@ func test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference() {
101101
var d = D()
102102
let c = C(d)
103103
// Reenable with rdar://86271875
104-
// HECK: cWillFoo{{.*}} test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference
104+
// CHECK: cWillFoo{{.*}} test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference
105105
c.foo(#function)
106106
}
107107

@@ -210,8 +210,7 @@ func test_repeatedLoadWeakSelf() -> Task<Void, Never> {
210210
@main struct Main {
211211
static func main() async {
212212
test_localLet_keepsObjectAliveBeyondCallToClassWithWeakReference()
213-
// Reenable with rdar://86271875
214-
// test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference()
213+
test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference()
215214
test_localLet_keepsObjectAliveBeyondCallToClassWithPointer()
216215
test_localVar_keepsObjectAliveBeyondCallToClassWithPointer()
217216
test_localLet_keepsObjectAliveBeyondCallToSynchronizationPointFunction()

0 commit comments

Comments
 (0)