mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
// RUN: %scale-test --sum-multi --typecheck --begin 5 --end 16 --step 5 --select typeCheckAbstractFunctionBody %s
|
|
// REQUIRES: OS=macosx, tools-release, assertions
|
|
|
|
struct Struct${N} {
|
|
% if int(N) > 1:
|
|
var Field : Struct${int(N)-1}?
|
|
% else:
|
|
var Field : Int?
|
|
% end
|
|
}
|