aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/unary_plus.elna
blob: e4b3762678851248433c0052bb65c58278ff9dbe (plain)
1
2
3
4
5
6
7
8
9
proc f(x: Int) -> Int
return +x

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