Skip to content

Commit e03cb13

Browse files
committed
[test] Add _hash(into:) to a test that inspects a Hashable witness table
1 parent 8cf5bc8 commit e03cb13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/SILGen/objc_bridging_any.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,4 +757,5 @@ func bridgeOptionalFunctionToAnyObject(fn: (() -> ())?) -> AnyObject {
757757
// CHECK-LABEL: sil_witness_table shared [serialized] GenericOption: Hashable module objc_generics {
758758
// CHECK-NEXT: base_protocol Equatable: GenericOption: Equatable module objc_generics
759759
// CHECK-NEXT: method #Hashable.hashValue!getter.1: {{.*}} : @$SSo13GenericOptionas8HashableSCsACP9hashValueSivgTW
760+
// CHECK-NEXT: method #Hashable._hash!1: {{.*}} : @$SSo13GenericOptionas8HashableSCsACP5_hash4intoys7_HasherVz_tFTW
760761
// CHECK-NEXT: }

0 commit comments

Comments
 (0)