mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Now that validateDecl is gone, stop duplicating work here and use the request counter instead.
17 lines
343 B
Plaintext
17 lines
343 B
Plaintext
// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select InterfaceTypeRequest %s
|
|
// REQUIRES: asserts
|
|
|
|
struct Generic${N}<T : Protocol${N}> {}
|
|
|
|
struct Conforms${N} : Protocol${N} {
|
|
% if int(N) > 1:
|
|
typealias A = Generic${int(N)-1}<Conforms${int(N)-1}>
|
|
% end
|
|
}
|
|
|
|
protocol Protocol${N} {
|
|
% if int(N) > 1:
|
|
associatedtype A
|
|
% end
|
|
}
|