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

program()
begin
  assert(+3 = 3);
  assert(f(5) = 5);
  assert(f(-7) = -7)
return 0u8

end.