Files
swift-mirror/validation-test/compiler_scale/protocol_members.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
494 B
Plaintext

// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select InterfaceTypeRequest %s
// REQUIRES: asserts
protocol Protocol${N} {
% if int(N) > 1:
func method(_: Protocol${int(N)-1})
var prop: Protocol${int(N)-1} { get set }
static var prop: Protocol${int(N)-1} { get set }
subscript(n: Int) -> Protocol${int(N)-1} { get set }
% else:
func method()
var prop: Int { get set }
static var prop: Int { get set }
subscript(n: Int) -> Int { get set }
% end
}