Files
swift-mirror/validation-test/compiler_scale/scale_neighbouring_getset.gyb
2017-01-08 23:54:01 -08:00

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
}