aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/const_copy.elna
blob: 32cee67f8464fe5042c682a176a04e9af2ded4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
proc f()
var
  x: const Int := 5
  y: Int
begin
  y := x;
  assert(y = 5)
return

program()
begin
  f()
end.