blob: 9b9c3412f3fb978c70855589ae03952c2f51fc60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
type
CI = const Int
proc f()
var
a: [3]CI := [1, 2, 3]
begin
a[1] := 6 (* @Error Cannot assign to a value of type 'CI', because it is constant or contains constant members *)
return
end.
|