mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Now that SILGen and IRGen can trigger type checking work, we have to run the full pipeline to get a complete picture. Thankfully everything still passes!
11 lines
247 B
Plaintext
11 lines
247 B
Plaintext
// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select NumDeclsValidated %s
|
|
// REQUIRES: OS=macosx
|
|
// REQUIRES: asserts
|
|
|
|
struct Struct${N} {
|
|
% if int(N) > 1:
|
|
var next: Struct${int(N)-1}.Nested? = nil
|
|
% end
|
|
struct Nested {}
|
|
}
|