aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/prerequisite
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-11 13:37:57 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-11 13:37:57 +0000
commitacfe77dfe959afe552d90b5e337640365e69c4c1 (patch)
tree90ecbd17947513a112cfdf9188b2e723749afcc0 /test-suite/prerequisite
parent8659ff43db85c43df644da6ac08509374aabcad4 (diff)
Fixed bug #2168 (closing a section may have as side-effect the erasure
of objects having the same name as the section). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12496 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/prerequisite')
-rw-r--r--test-suite/prerequisite/make_notation.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/prerequisite/make_notation.v b/test-suite/prerequisite/make_notation.v
index c93d102a2..3878e396a 100644
--- a/test-suite/prerequisite/make_notation.v
+++ b/test-suite/prerequisite/make_notation.v
@@ -6,3 +6,10 @@ Notation succ := S.
Notation mult := mult (only parsing).
Notation less := le (only parsing).
+(* Test bug 2168: ending section of some name was removing objects of the
+ same name *)
+
+Notation add2 n:=(S n).
+Section add2.
+End add2.
+