summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorSidney Congard2022-08-08 15:16:14 +0200
committerSidney Congard2022-08-08 15:16:14 +0200
commit3c5fb260012ee8bb8b9fd90bc4624d893ac7678a (patch)
tree6702e5d4b3b01aa1a96da150dd17ca6f4dfce326 /tests/misc
parentf9015d1e956ace6c875eb6a631caeac49cfb8148 (diff)
Register global names, one error remaining
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/Constants.fst10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/misc/Constants.fst b/tests/misc/Constants.fst
index e1a942a0..f5bd41cb 100644
--- a/tests/misc/Constants.fst
+++ b/tests/misc/Constants.fst
@@ -4,3 +4,13 @@ module Constants
open Primitives
#set-options "--z3rlimit 50 --fuel 1 --ifuel 1"
+
+(** [constants::X0] *)
+let x0_body : result u32 = Return 0
+let x0_c : u32 = eval_global x0_body
+
+(** [core::num::u32::{8}::MAX] *)
+let core_num_u32_max_body : result u32 = Return 4294967295
+let core_num_u32_max_c : u32 = eval_global core_num_u32_max_body
+
+(** [constants::X1] *) \ No newline at end of file