blob: 7215bd990526658f5881bef4723e78e066a659ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
(* The current extraction cannot handle this situation,
and shouldn't try, otherwise it might produce some Ocaml
code that segfaults. See Table.error_singleton_become_prop
or S. Glondu's thesis for more details. *)
Definition f {X} (p : (nat -> X) * True) : X * nat :=
(fst p 0, 0).
Definition f_prop := f ((fun _ => I),I).
Fail Extraction f_prop.
|