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

proc f(r: R) -> Bool
return r.a = 1 & r.b = 2

program()
begin
  assert(f(R{a: 1, b: 2}))
return 0u8

end.