File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
validation-test/SILOptimizer Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 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 ( )
You can’t perform that action at this time.
0 commit comments