Skip to content

Commit b85e6c0

Browse files
committed
flambda-backend: Make ocaml/testsuite/tests/backtrace/backtrace_c_exn.ml robust to compilation under Closure
1 parent 7a15877 commit b85e6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/tests/backtrace/backtrace_c_exn.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(* https://github.com/ocaml-multicore/ocaml-multicore/issues/498 *)
1212
external stubbed_raise : unit -> unit = "caml_498_raise"
1313

14-
let raise_exn () = failwith "exn"
14+
let raise_exn () = (failwith [@inlined never]) "exn" [@@inline never]
1515

1616
let () = Callback.register "test_raise_exn" raise_exn
1717

0 commit comments

Comments
 (0)