aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/failure/ClearBody.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-10-05 14:27:01 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-10-05 14:27:01 +0000
commit03871e9fcd3e5dfa66a25484755f6544be3354ba (patch)
tree852dc680bdb9ba84ae9b345b2d86c42ed6b48de6 /test-suite/failure/ClearBody.v
parent4c1ef79b64d4f2c7e3a730d07e103fb4e608dc68 (diff)
Test de dépendances de ClearBody
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2102 85f007b7-540e-0410-9357-904b9bb8a0f7
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 000000000..ca8e3c682
--- /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.