Skip to content

Commit

Permalink
Test fix in #1457
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfirere committed Jul 26, 2023
1 parent dd69ba4 commit 95231ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ocaml/testsuite/tests/lib-array/iarray_singleton.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(* TEST
flags = "-extension immutable_arrays"
* native
*)

(* this failed at one point on flambda2 with -O3:
https://github.com/ocaml-flambda/flambda-backend/pull/1457 *)
let singleton x = [: x :]

0 comments on commit 95231ac

Please sign in to comment.