Skip to content

Commit d0506e4

Browse files
committed
Disable Span bounds check elimination tests for asserts builds
The asserts introduce null pointer checks that make the test too fragile.
1 parent 1bd4562 commit d0506e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/stdlib/Span/BoundsCheckOptimization.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// RUN: %target-swift-frontend -primary-file %s -O -emit-assembly | %FileCheck %s --check-prefix CHECK --check-prefix CHECK-%target-cpu
14+
// REQUIRES: swift_stdlib_no_asserts
1415

1516
import Swift
1617

0 commit comments

Comments
 (0)