Moar test fixes

This commit is contained in:
Alejandro Alonso
2025-01-10 17:52:50 -08:00
parent cedea94b4c
commit 4c5a13a63e
4 changed files with 16 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ extension Slab where Element: ~Copyable {
} }
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Reduce and Swap // Swap
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
@available(SwiftStdlib 6.1, *) @available(SwiftStdlib 6.1, *)

View File

@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %s -target %target-cpu-apple-macos14 -emit-ir -g -enable-experimental-feature ValueGenerics -enable-experimental-feature Embedded -wmo -disable-availability-checking -o - | %FileCheck %s // RUN: %target-swift-frontend %s -target %target-cpu-apple-macos14 -emit-ir -g -enable-experimental-feature ValueGenerics -enable-experimental-feature Embedded -wmo -disable-availability-checking -o - | %FileCheck %s
// REQUIRES: OS=macosx
// REQUIRES: swift_feature_Embedded // REQUIRES: swift_feature_Embedded
// REQUIRES: swift_feature_ValueGenerics // REQUIRES: swift_feature_ValueGenerics

View File

@@ -10,7 +10,7 @@ import NoSuchModule
// This is close enough to get typo-correction. // This is close enough to get typo-correction.
func test_short_and_close() { func test_short_and_close() {
let plop = 4 // expected-note {{'plop' declared here}} let plop = 4 // expected-note {{did you mean 'plop'?}}
let bab = plob + 1 let bab = plob + 1
// expected-error@-1 {{cannot find 'plob' in scope}} // expected-error@-1 {{cannot find 'plob' in scope}}
} }

View File

@@ -810,3 +810,15 @@ Added: _$ss13_SwiftifyInfoON
// Eager-lazy Array bridging // Eager-lazy Array bridging
Added: _$ss12_ArrayBufferV14associationKeySVvpZMV Added: _$ss12_ArrayBufferV14associationKeySVvpZMV
// Slab metadata accessor
Added: _$ss4SlabVMa
// Slab nominal type descriptor
Added: _$ss4SlabVMn
// Slab.count property descriptor
Added: _$ss4SlabVsRi__rlE5countSivpZMV
// Slab._storage _read accessor
Added: _$ss4SlabVsRi__rlE8_storagexq_BVvr