Debian Codegraph @

test-suite/failure/ClearBody.v

raw
1 (* ClearBody must check that removing the body of definition does not
2 invalidate the well-typabilility of the visible goal *)
3
4 Goal True.
5 set (n := 0) in *.
6 set (I := refl_equal 0) in *.
7 change (n = 0) in (type of I).
8 Fail clearbody n.
9 Abort.