Files
swift-mirror/test/SILGen/variadic_generic_conformances.swift

14 lines
238 B
Swift

// RUN: %target-swift-frontend -emit-silgen %s -disable-availability-checking
protocol P {
associatedtype A: P
}
struct S: P {
typealias A = S
}
func f<each T: P>(_: repeat each T) -> (repeat (each T).A.A.A.A) {}
f(S(), S(), S())