aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/failure/ClearBody.v
blob: e321e59f58077e36a34b7cff2cf594ed1eadb30e (plain)
1
2
3
4
5
6
7
8
(* ClearBody must check that removing the body of definition does not
   invalidate the well-typabilility of the visible goal *)

Goal True.
set (n := 0) in *.
set (I := refl_equal 0) in *.
change (n = 0) in (type of I).
Fail clearbody n.