test-suite/primitive/float/coq_env_double_array.v
raw| 1 | Require Import PrimFloat. |
| 2 | |
| 3 | Goal True. |
| 4 | pose (f := one). |
| 5 | pose (f' := (-f)%float). |
| 6 | |
| 7 | (* this used to segfault when the coq_env array given to the |
| 8 | coq_interprete C function was an unboxed OCaml Double_array |
| 9 | (created by Array.map in csymtable.ml just before calling |
| 10 | eval_tcode) *) |
| 11 | vm_compute in f'. |
| 12 | |
| 13 | Abort. |