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

program()
begin
  f()
return 0u8

end.