Files
swift-mirror/validation-test/compiler_scale/used_conformances.gyb
Robert Widmann 28b66f6225 Switch DeclValidation Counter to Request Counter
Now that validateDecl is gone, stop duplicating work here and use the
request counter instead.
2019-10-28 15:36:50 -07:00

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
}