Skip to content

dra27/naked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nnpcheck example

This is a (very) simple example for triggering the OCaml 4.10.0 no-naked-pointers check.

$ opam switch create nnpcheck ocaml-variants.4.10.0+nnpcheck
$ opam install dune
$ dune exec naked

should give

The answer is 42
Out-of-heap pointer at 0x55b9ce0fa2f0 of value 0x55b9ce29eb10 has non-black head (tag=33)
Out-of-heap pointer at 0x55b9ce0fa2f0 of value 0x55b9ce29eb10 has non-black head (tag=33)
Out-of-heap pointer at 0x55b9ce0fa2f0 of value 0x55b9ce29eb10 has non-black head (tag=33)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors