Skip to content

Commit 6d6b3cd

Browse files
authored
Merge pull request swiftlang#20647 from xedin/fix-swift-version-in-autoclosure-test
[TypeChecker] NFC: Switch @autoclosure compatibility test to pass swi…
2 parents 8a2e327 + 1b37bc2 commit 6d6b3cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Compatibility/attr_autoclosure.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// RUN: %target-swift-frontend -emit-sil -verify %s | %FileCheck %s
2-
// REQUIRES: SWIFT_VERSION=4
1+
// RUN: %target-swift-frontend -swift-version 4 -emit-sil -verify %s | %FileCheck %s
32

43
do {
54
func a(_ x: @autoclosure () -> Int) {}

0 commit comments

Comments
 (0)