Skip to content

Commit 3b514ff

Browse files
committed
tests: fix and re-enable the performance-annotations.swift test
The use of opaque return types requires `-disable-availability-checking`. Otherwise the test will fail when run for old targets. rdar://119075334
1 parent 1c3bd3e commit 3b514ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/SILOptimizer/performance-annotations.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// REQUIRES: rdar119075334
2-
3-
// RUN: %target-swift-frontend -parse-as-library -emit-sil %s -o /dev/null -verify
1+
// RUN: %target-swift-frontend -parse-as-library -disable-availability-checking -emit-sil %s -o /dev/null -verify
42
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
53
// REQUIRES: swift_in_compiler
64

0 commit comments

Comments
 (0)