aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/return_aggregate.elna
blob: 6959b60bee6a7717e02a5a0baae05e1f19ac35cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
program()
type
  R = record
    a: Int;
    b: Int
  end

proc f() -> R
return R{ a: 1, b: 2 }

begin
  assert(f() = R{ a: 1, b: 2 })
end.