aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/unary_plus.elna
blob: 4df6922ab135c33866fe7787ce100f0037016d3b (plain)
1
2
3
4
5
6
7
8
9
10
program()

proc f(x: Int) -> Int
return +x

begin
  assert(+3 = 3);
  assert(f(5) = 5);
  assert(f(-7) = -7)
end.