aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/case_constant_label.elna
blob: 2402bf7300f4063dd617642f5452a53154bcd4b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
  base: const Int := 2
  limit: const Int := base
  x: Int := 2
  matched: Bool := false

program()
begin
  case x of
    1: assert(false)
  | limit: matched := true
  end;
  assert(matched)
end.