Files
swift-mirror/validation-test/compiler_scale/struct_nested.gyb
Slava Pestov 5370ac0f03 compiler_scale tests should run full pipeline instead of just -typecheck
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!
2019-07-17 18:07:03 -04:00

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 {}
}