// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.5-abi-triple | %FileCheck %s // REQUIRES: VENDOR=apple // UNSUPPORTED: OS=xros public protocol P { associatedtype A } public func f(_: T.Type) {} @available(SwiftStdlib 5.7, *) public func g(_: T.Type) { f((any P).self) } // CHECK-LABEL: declare extern_weak ptr @swift_getExtendedExistentialTypeMetadata(ptr, ptr)