mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add missing // REQUIRES: swift_feature_ForExpressions
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user