blob: e2f5213cdc0c364bb4f2d6caefb8735d4eebd72e [file] [log] [blame]
// RUN: %scale-test --begin 3 --end 20 --step 1 --select NumLeafScopes %s
// REQUIRES: asserts,no_asan
protocol P {}
class C : P {}
class D : P {}
class Test {
let c: C! = C()
let d: D! = D()
var a: [P]! = []
func test() {
a = [
c,
%for i in range(0, N):
c,
%end
d
]
}
}