mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user