#path: a.b

// TODO: merge output structs.

-- in.cue --
for key, value in { test: 1 } {
	("a"): b: k1: key
	("a"): b: v1: value
	a: b: k2: key
	a: b: v2: value
}
a: {
	for key, value in { test: 1 } {
		("b"): k3: key
		("b"): v3: value
		b: k4: key
		b: v4: value
	}
	b: {}
}
-- out/self/default --

{
	k2: "test"
} & {
	v2: 1
} & {
	k4: "test"
} & {
	v4: 1
} & {
	k1: "test"
	v1: 1
	k3: "test"
	v3: 1
}
