Skip to content

Commit 7026f65

Browse files
authored
Merge pull request #66465 from atrick/fix-test-requires-swift-source
Add REQUIRES: swift_in_compiler to discard.swift and outliner.swift
2 parents 4fe20a8 + 019152c commit 7026f65

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/SILGen/discard.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
// RUN: %target-swift-emit-silgen -enable-experimental-feature MoveOnlyEnumDeinits -module-name test %s | %FileCheck %s --enable-var-scope
22
// RUN: %target-swift-emit-sil -enable-experimental-feature MoveOnlyEnumDeinits -module-name test -sil-verify-all %s | %FileCheck %s --check-prefix CHECK-SIL --enable-var-scope
33

4-
// UNSUPPORTED: OS=windows-msvc
5-
//
6-
// On Windows, the struct_extract instructions are not fully cleaned up:
7-
// CHECK-SIL-NOT: struct_extract
8-
// It likely has to do with the lazy property.
4+
// Swift sources are require to remove struct_extract so this check-not line passes:
5+
// "CHECK-SIL-NOT: struct_extract"
6+
// REQUIRES: swift_in_compiler
97

108
func invokedDeinit() {}
119

test/SILOptimizer/outliner.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// REQUIRES: objc_interop
55
// REQUIRES: optimized_stdlib
6+
// REQUIRES: swift_in_compiler
67

78
import Foundation
89

0 commit comments

Comments
 (0)