Skip to content

Commit 3281cf9

Browse files
committed
[test] closures_swift6 requires asserts
`-swift-version 6` is currently only permitted for asserts builds. rdar://82126678
1 parent 7fd4406 commit 3281cf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/expr/closure/closures_swift6.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6
2+
// REQUIRES: asserts
23

34
func doStuff(_ fn : @escaping () -> Int) {}
45
func doVoidStuff(_ fn : @escaping () -> ()) {}

0 commit comments

Comments
 (0)