diff --git a/test/SILOptimizer/lifetime_dependence/lifetime_dependence_scope_fixup.swift b/test/SILOptimizer/lifetime_dependence/lifetime_dependence_scope_fixup.swift index eedf97d1418c0..81f51c292e3a3 100644 --- a/test/SILOptimizer/lifetime_dependence/lifetime_dependence_scope_fixup.swift +++ b/test/SILOptimizer/lifetime_dependence/lifetime_dependence_scope_fixup.swift @@ -329,6 +329,9 @@ func testWrite(_ w: inout ArrayWrapper) { } // Test store_borrow extension which is required when the addressable UTF8View is extended over the Span's uses. +// +// UTF8Span is unavailable on watchOS as of the introduction of this test. +@available(watchOS, unavailable) @available(SwiftStdlib 6.2, *) func testSpanOfBorrowByAddress(_ i: Int) -> Int { let span = String(i).utf8.span