blob: ef2ec4121bc2edbb840fb687de8eaa92b836be29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
default Order dec
$include <flow.sail>
$include <exception_basic.sail>
val "print_endline" : string -> unit
register R : bool
function main((): unit) -> unit = {
R = false;
let 'x = 3180327502475943573495720457203572045720485720458724;
y : range(0, 'x) = 1;
if R then {
assert(constraint('x <= 2));
y = 2;
let z = y;
let x = 2;
()
} else {
print_endline("ok")
}
}
|