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
2
2
3
3
// REQUIRES: executable_test
4
4
// REQUIRES: concurrency
@@ -101,7 +101,7 @@ func test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference() {
101
101
var d = D ( )
102
102
let c = C ( d)
103
103
// Reenable with rdar://86271875
104
- // HECK : cWillFoo{{.*}} test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference
104
+ // CHECK : cWillFoo{{.*}} test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference
105
105
c. foo ( #function)
106
106
}
107
107
@@ -210,8 +210,7 @@ func test_repeatedLoadWeakSelf() -> Task<Void, Never> {
210
210
@main struct Main {
211
211
static func main( ) async {
212
212
test_localLet_keepsObjectAliveBeyondCallToClassWithWeakReference ( )
213
- // Reenable with rdar://86271875
214
- // test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference()
213
+ test_localVar_keepsObjectAliveBeyondCallToClassWithWeakReference ( )
215
214
test_localLet_keepsObjectAliveBeyondCallToClassWithPointer ( )
216
215
test_localVar_keepsObjectAliveBeyondCallToClassWithPointer ( )
217
216
test_localLet_keepsObjectAliveBeyondCallToSynchronizationPointFunction ( )
You can’t perform that action at this time.
0 commit comments