Skip to content

Commit

Permalink
flambda-backend: Make ocaml/testsuite/tests/backtrace/backtrace_c_exn…
Browse files Browse the repository at this point in the history
….ml robust to compilation under Closure
  • Loading branch information
mshinwell committed Oct 31, 2023
1 parent 7a15877 commit b85e6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/backtrace/backtrace_c_exn.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(* https://github.com/ocaml-multicore/ocaml-multicore/issues/498 *)
external stubbed_raise : unit -> unit = "caml_498_raise"

let raise_exn () = failwith "exn"
let raise_exn () = (failwith [@inlined never]) "exn" [@@inline never]

let () = Callback.register "test_raise_exn" raise_exn

Expand Down

0 comments on commit b85e6c0

Please sign in to comment.