Files
swift-mirror/validation-test/compiler_scale/scale_neighbouring_getset.gyb
Rintaro Ishizaki 0a72d023f3 [TypeChecker] Rename 'typeCheckAbstractFunctionBodyUntil()'
to 'typeCheckAbstractFunctionBodyNodeAt()' because that only typecheck
a statement at the position.
2020-05-29 14:45:04 -07:00

11 lines
232 B
Plaintext

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