summaryrefslogtreecommitdiff
path: root/test-suite/failure/ClearBody.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/ClearBody.v')
-rw-r--r--test-suite/failure/ClearBody.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/failure/ClearBody.v b/test-suite/failure/ClearBody.v
new file mode 100644
index 00000000..ca8e3c68
--- /dev/null
+++ b/test-suite/failure/ClearBody.v
@@ -0,0 +1,8 @@
+(* ClearBody must check that removing the body of definition does not
+ invalidate the well-typabilility of the visible goal *)
+
+Goal True.
+LetTac n:=O.
+LetTac I:=(refl_equal nat O).
+Change (n=O) in (Type of I).
+ClearBody n.