aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/define_multiple_local_variables.elna
blob: afae692e219e4c0251e393447865091b969eb490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
proc f(): Int
var
  a, b: Int := 5
  result: Int
begin
  if a = 5 & b = 5 then
    result := 0
  else
    result := 1
  end;
  return result
end

return f()

end.