-- in.cue --
// File-level @test(eq, VALUE) as a decl attribute: checks the entire
// file's evaluated value against VALUE.  All fields are covered
// implicitly — no per-field @test is required.

a: 1
b: a + 1
c: {
	x: "hello"
	y: b
}
@test(eq, {
	a: 1
	b: 2
	c: {
		x: "hello"
		y: 2
	}
})
-- out/eval/stats --
Leaks:  0
Freed:  6
Reused: 0
Allocs: 6
Retain: 0

Unifications: 6
Conjuncts:    6
Disjuncts:    0
