Add REQUIRES: executable_test to for-expr.swift (#84751)

The lack of this condition made some jobs fail, e.g. https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-device-non_executable/9749

rdar://162140584
This commit is contained in:
Max Desiatov
2025-10-08 18:01:12 +01:00
committed by GitHub
parent 8cdb07f8c9
commit 1061f95a53

View File

@@ -1,6 +1,7 @@
// RUN: %target-run-simple-swift(-enable-experimental-feature ForExpressions) | %FileCheck %s
// REQUIRES: swift_feature_ForExpressions
// REQUIRES: executable_test
func f() -> String {
for (i, x) in "hello".enumerated() {