File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,19 @@ public func useConditionallyAvailableGlobal() {
5656// CHECK-OLD-LABEL: declare extern_weak swiftcc void @"$s31weak_import_availability_helper28conditionallyAvailableGlobalSivs"(i64)
5757// CHECK-NEW-LABEL: declare swiftcc void @"$s31weak_import_availability_helper28conditionallyAvailableGlobalSivs"(i64)
5858
59+ // CHECK-OLD-LABEL: declare extern_weak swiftcc { i8*, %TSi* } @"$s31weak_import_availability_helper28conditionallyAvailableGlobalSivM"(i8* noalias dereferenceable(32))
60+ // CHECK-NEW-LABEL: declare swiftcc { i8*, %TSi* } @"$s31weak_import_availability_helper28conditionallyAvailableGlobalSivM"(i8* noalias dereferenceable(32))
61+
5962func blackHole< T> ( _: T ) { }
6063
6164@available ( macOS 10 . 50 , * )
6265public func useConditionallyAvailableStruct( ) {
6366 blackHole ( ConditionallyAvailableStruct . self)
6467}
6568
69+ // CHECK-OLD-LABEL: declare extern_weak swiftcc %swift.metadata_response @"$s31weak_import_availability_helper28ConditionallyAvailableStructVMa"(i64)
70+ // CHECK-NEW-LABEL: declare swiftcc %swift.metadata_response @"$s31weak_import_availability_helper28ConditionallyAvailableStructVMa"(i64)
71+
6672@available ( macOS 10 . 50 , * )
6773public func useConditionallyAvailableMethod( s: ConditionallyAvailableStruct ) {
6874 s. conditionallyAvailableMethod ( )
You can’t perform that action at this time.
0 commit comments