Files
swift-mirror/validation-test/compiler_scale/scale_neighbouring_getset.gyb
2020-02-12 18:29:27 -05:00

11 lines
237 B
Plaintext

// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select TypeCheckFunctionBodyUntilRequest %s
// REQUIRES: asserts
struct Struct${N} {
% if int(N) > 1:
var Field : Struct${int(N)-1}?
% else:
var Field : Int?
% end
}