Skip to content

Commit 2ca6b51

Browse files
committed
Test fix in #1457
1 parent f01b935 commit 2ca6b51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ocaml/testsuite/tests/lib-array/test_iarray.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,3 +519,9 @@ ifarray;;
519519
[%%expect{|
520520
- : float iarray = [:1.5; 2.5; 3.5; 4.5; 5.5:]
521521
|}];;
522+
523+
let singleton x = [: x :]
524+
525+
[%%expect{|
526+
val singleton : 'a -> 'a iarray = <fun>
527+
|}]

0 commit comments

Comments
 (0)