mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
// RUN: %scale-test --sum-multi --typecheck --begin 5 --end 16 --step 5 --select typeCheckAbstractFunctionBody %s
|
|
// REQUIRES: OS=macosx
|
|
// REQUIRES: asserts
|
|
|
|
struct Struct${N} {
|
|
% if int(N) > 1:
|
|
var Field : Struct${int(N)-1}?
|
|
% else:
|
|
var Field : Int?
|
|
% end
|
|
}
|