Files
swift-mirror/test/Serialization/protocol_with_self_conforming_existential.swift
Slava Pestov 0838e4fcdb Add test case for rdar://123335873
I didn't realize it at the time, but this was actually fixed by
bc85d66b96.
2024-04-03 14:10:36 -04:00

12 lines
438 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module %S/Inputs/protocol_with_self_conforming_existential_other.swift -emit-module-path %t/protocol_with_self_conforming_existential_other.swiftmodule
// RUN: %target-swift-frontend -emit-silgen %s -I %t
import protocol_with_self_conforming_existential_other
// Declare a type conforming to P2, to force deserializing its
// requirement signature.
struct MyP2: P2 {}