Hi,

FWIW, the code given by the submitter is rejected by ocamlc, but
(it seems wrongly) accepted by ocamlopt.

$ ocamlc test.mli
$ ocamlc test.ml 
Error while linking test.cmo: Reference to undefined global `Test'
$ ocamlopt test.ml 
$ echo $?
0
$ ./a.out 
Segmentation fault

I'll try to investigate this further.

Regards,
Julien Cristau

Attachment: signature.asc
Description: Digital signature

Reply via email to