mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
16 lines
621 B
Swift
16 lines
621 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module %S/witness_tables_serialized.swift -o %t -enable-library-evolution -package-name Package
|
|
// RUN: %target-swift-emit-silgen -I %t %s | %FileCheck %s
|
|
|
|
import witness_tables_serialized
|
|
|
|
public protocol AnotherPublicProtocol {}
|
|
|
|
@usableFromInline
|
|
internal protocol AnotherInternalProtocol {}
|
|
|
|
extension PublicResilientStruct : AnotherPublicProtocol, AnotherInternalProtocol {}
|
|
|
|
// CHECK: sil_witness_table [serialized] PublicResilientStruct: AnotherPublicProtocol
|
|
// CHECK: sil_witness_table [serialized] PublicResilientStruct: AnotherInternalProtocol
|