mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
to 'typeCheckAbstractFunctionBodyNodeAt()' because that only typecheck a statement at the position.
11 lines
232 B
Plaintext
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
|
|
}
|