aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/const_negation.elna
blob: cb76e584fa78a18f701aece531530c9d30e49ec6 (plain)
1
2
3
4
5
6
7
8
9
var
  x: const Int := -5
  y: const Int := -x

program()
begin
  assert(x = -5);
  assert(y = 5);
end.