Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 4e3e29cd authored by MARCHE Claude's avatar MARCHE Claude
Browse files

bug with exceptions

parent a46bf955
......@@ -113,13 +113,18 @@ test_prover () {
fi
}
echo "=== Checking drivers ==="
drivers drivers
echo ""
echo "=== Checking valid goals ==="
valid_goals bench/valid
echo ""
# 1. Syntax
echo "=== Parsing good files ==="
goods bench/typing/bad --parse-only
echo ""
# 2. Typing
echo "=== Type-checking bad files ==="
bads bench/typing/bad --type-only
echo ""
......@@ -150,12 +155,10 @@ programs bench/programs/good
programs examples/programs
echo ""
echo "=== Checking drivers ==="
drivers drivers
echo ""
echo "=== Checking valid goals ==="
valid_goals bench/valid
echo "=== VC generation on good programs ==="
pgml_options=
programs bench/programs/good
programs examples/programs
echo ""
echo "=== Checking provers ==="
......
exception Break
let f (n : int) : int =
{ true }
let i = ref n in
try
while (!i > 0) do
invariant { true }
variant { !i }
if (!i <= 10) then raise Break;
i := !i - 1
done
with Break -> ()
end;
!i
{ result <= 10 }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment