mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NCGenerics] extra coverage for interface emission
This commit is contained in:
@@ -66,3 +66,5 @@ public protocol TestAssocTypes {
|
||||
public typealias SomeAlias<G> = Hello<G>
|
||||
|
||||
public typealias AliasWithInverse<G> = Hello<G> where G: ~Copyable, G: ~Escapable
|
||||
|
||||
public struct RudePointer<T: ~Copyable>: Copyable {}
|
||||
|
||||
@@ -93,6 +93,9 @@ import NoncopyableGenerics_Misc
|
||||
// CHECK-MISC: #if compiler(>=5.3) && $NoncopyableGenerics
|
||||
// CHECK-MISC-NEXT: public typealias AliasWithInverse<G> = {{.*}}.Hello<G> where G : ~Copyable, G : ~Escapable
|
||||
|
||||
// CHECK-MISC: #if compiler(>=5.3) && $NoncopyableGenerics
|
||||
// CHECK-MISC-NEXT: public struct RudePointer<T> : Swift.Copyable where T : ~Copyable {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
// Synthesized conditional conformances are next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user