blob: 6270202abc9c4ba3171f38072b166872c81601c0 [file] [log] [blame]
// RUN: %scale-test --begin 1 --end 5 --step 1 --select NumLeafScopes %s
// REQUIRES: asserts,no_asan
struct rdar33511986 {
func test(s: String, b: Bool, os: String?, oa: Any?, o: AnyObject) -> [Any] {
let a: [Any]
a = [
%for i in range(0, N):
[
"first": s,
"second": b,
"third": os,
"fourth": oa ?? o
],
%end
[
"first": s,
"second": b,
"third": nil,
"fourth": oa ?? o
],
[
"first": "literal",
"second": true,
"third": nil,
"fourth": nil
]
]
return a
}
}