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

proc f(): R
return R(1, 2)

begin
  assert(f() = R(1, 2))
end.