type R = record a: Int; b: Int end proc f(): Bool return R{a: 1, b: 2} = R{a: 1, b: 2} begin assert(f()) end.