Skip to content

Commit c822b54

Browse files
committed
reset test
1 parent c6b2a7b commit c822b54

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ocaml/testsuite/tests/mixed-blocks/constructor_args.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type t =
3838
| Mixed8 of float * int32# * float# * int64# * float#
3939
| Mixed9 of float * float# * float32#
4040
| Mixed10 of float * float32# * float# * int64# * float#
41-
| Mixed11 of float * int32# * float32# * float# * int64# * float#
41+
| Mixed11 of float * int32# * float32# * float# * int64# * nativeint#
4242
| Uniform2 of float * float
4343

4444
type t_ext = ..
@@ -54,7 +54,7 @@ type t_ext +=
5454
| Ext_mixed8 of float * int32# * float# * int64# * float#
5555
| Ext_mixed9 of float * float# * float32#
5656
| Ext_mixed10 of float * float32# * float# * int64# * float#
57-
| Ext_mixed11 of float * int32# * float32# * float# * int64# * float#
57+
| Ext_mixed11 of float * int32# * float32# * float# * int64# * nativeint#
5858

5959
let sprintf = Printf.sprintf
6060

@@ -91,9 +91,9 @@ let to_string = function
9191
x1 (Float_u.to_float (Float32_u.to_float x2)) (Float_u.to_float x3)
9292
(Int64_u.to_int x4) (Float_u.to_float x5)
9393
| Mixed11 (x1, x2, x3, x4, x5, x6) ->
94-
sprintf "Mixed11 (%f, %i, %f, %f, %i, %f)"
94+
sprintf "Mixed11 (%f, %i, %f, %f, %i, %i)"
9595
x1 (Int32_u.to_int x2) (Float_u.to_float (Float32_u.to_float x3))
96-
(Float_u.to_float x4) (Int64_u.to_int x5) (Float_u.to_float x6)
96+
(Float_u.to_float x4) (Int64_u.to_int x5) (Nativeint_u.to_int x6)
9797
| Uniform2 (x1, x2) -> sprintf "Uniform2 (%f, %f)" x1 x2
9898

9999
let ext_to_string = function
@@ -127,9 +127,9 @@ let ext_to_string = function
127127
x1 (Float_u.to_float (Float32_u.to_float x2)) (Float_u.to_float x3)
128128
(Int64_u.to_int x4) (Float_u.to_float x5)
129129
| Ext_mixed11 (x1, x2, x3, x4, x5, x6) ->
130-
sprintf "Ext_mixed11 (%f, %i, %f, %f, %i, %f)"
130+
sprintf "Ext_mixed11 (%f, %i, %f, %f, %i, %i)"
131131
x1 (Int32_u.to_int x2) (Float_u.to_float (Float32_u.to_float x3))
132-
(Float_u.to_float x4) (Int64_u.to_int x5) (Float_u.to_float x6)
132+
(Float_u.to_float x4) (Int64_u.to_int x5) (Nativeint_u.to_int x6)
133133
| _ -> "<ext>"
134134

135135
let print t = print_endline (" " ^ to_string t)
@@ -176,7 +176,7 @@ let construct_and_destruct uf uf' f f' i i32 i64 i_n f32 =
176176
let Mixed8 (f, i32, uf, i64, uf') = Mixed8 (f, i32, uf, i64, uf') in
177177
let Mixed9 (f, uf, f32) = Mixed9 (f, uf, f32) in
178178
let Mixed10 (f, f32, uf, i64, uf') = Mixed10 (f, f32, uf, i64, uf') in
179-
let Mixed11 (f, i32, f32, uf, i64, uf') = Mixed11 (f, i32, f32, uf, i64, uf') in
179+
let Mixed11 (f, i32, f32, uf, i64, i_n) = Mixed11 (f, i32, f32, uf, i64, i_n) in
180180
let Ext_mixed1 uf = Ext_mixed1 uf in
181181
let Ext_mixed2 (f, uf) = Ext_mixed2 (f, uf) in
182182
let Ext_mixed3 (f, uf, uf') = Ext_mixed3 (f, uf, uf') in
@@ -187,7 +187,7 @@ let construct_and_destruct uf uf' f f' i i32 i64 i_n f32 =
187187
let Ext_mixed8 (f, i32, uf, i64, uf') = Ext_mixed8 (f, i32, uf, i64, uf') in
188188
let Ext_mixed9 (f, uf, f32) = Ext_mixed9 (f, uf, f32) in
189189
let Ext_mixed10 (f, f32, uf, i64, uf') = Ext_mixed10 (f, f32, uf, i64, uf') in
190-
let Ext_mixed11 (f, i32, f32, uf, i64, uf') = Ext_mixed11 (f, i32, f32, uf, i64, uf') in
190+
let Ext_mixed11 (f, i32, f32, uf, i64, i_n) = Ext_mixed11 (f, i32, f32, uf, i64, i_n) in
191191
let Uniform2 (f, f') = Uniform2 (f, f') in
192192
sum uf uf' f f' i i32 i64 i_n f32
193193
[@@ocaml.warning "-partial-match"]

0 commit comments

Comments
 (0)