We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6454de commit dc50018Copy full SHA for dc50018
compiler/tests-ocaml/match-exception/streams.ml
@@ -29,11 +29,14 @@ let rec iter_stream_match f s =
29
end
30
;;
31
32
-let test_iter_stream =
+let test_iter_stream () =
33
let limit = 10000000 in
34
try
35
iter_stream_match ignore (make_stream_up_to limit);
36
print_endline "iter_stream with handler case (match) is tail recursive"
37
with Stack_overflow ->
38
assert false
39
40
+
41
+let () = test_iter_stream ()
42
+;;
0 commit comments