Add missing // REQUIRES: swift_feature_ForExpressions

This commit is contained in:
Max Desiatov
2025-10-01 09:18:48 +01:00
parent 8cddae2471
commit b545a28bd3
6 changed files with 48 additions and 37 deletions

View File

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