Skip to content

Commit e086d99

Browse files
committed
chore: udpate test snapshots
1 parent 1cc270f commit e086d99

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test-harness/src/snapshots/toolchain__attributes into-fstar.snap

+20
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,26 @@ let bounded_u8 (x: t_BoundedU8 12uy 15uy) (y: t_BoundedU8 10uy 11uy) : t_Bounded
338338

339339
let double (x: u8) : Prims.Pure t_Even (requires x <. 127uy) (fun _ -> Prims.l_True) =
340340
x +! x <: t_Even
341+
342+
let t_BoundedAbsI16 (v_B: usize) =
343+
x:
344+
i16
345+
{ (Rust_primitives.Hax.Int.from_machine v_B <: Hax_lib.Int.t_Int) < (32768 <: Hax_lib.Int.t_Int) &&
346+
(Rust_primitives.Hax.Int.from_machine x <: Hax_lib.Int.t_Int) >=
347+
(- (Rust_primitives.Hax.Int.from_machine v_B <: Hax_lib.Int.t_Int) <: Hax_lib.Int.t_Int) &&
348+
(Rust_primitives.Hax.Int.from_machine x <: Hax_lib.Int.t_Int) <=
349+
(Rust_primitives.Hax.Int.from_machine v_B <: Hax_lib.Int.t_Int) }
350+
351+
let double_abs_i16 (v_N v_M: usize) (x: t_BoundedAbsI16 v_N)
352+
: Prims.Pure (t_BoundedAbsI16 v_M)
353+
(requires
354+
(Rust_primitives.Hax.Int.from_machine v_M <: Hax_lib.Int.t_Int) <
355+
(32768 <: Hax_lib.Int.t_Int) &&
356+
(Rust_primitives.Hax.Int.from_machine v_M <: Hax_lib.Int.t_Int) =
357+
((Rust_primitives.Hax.Int.from_machine v_N <: Hax_lib.Int.t_Int) * (2 <: Hax_lib.Int.t_Int)
358+
<:
359+
Hax_lib.Int.t_Int))
360+
(fun _ -> Prims.l_True) = x *! 2s <: t_BoundedAbsI16 v_M
341361
'''
342362
"Attributes.Requires_mut.fst" = '''
343363
module Attributes.Requires_mut

0 commit comments

Comments
 (0)