aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorherbelin2012-01-04 14:56:33 +0000
committerherbelin2012-01-04 14:56:33 +0000
commitf629bd63917ca1fdacf5a3da4ee2ac7f3cba7398 (patch)
tree8f596a8ac6005fdacae138d4c8fd9df8300e332e /test-suite
parenta760e7b562d742c77a3568c54a12997109b12c72 (diff)
Fixing Arguments Scope bug when too many scopes are given (bug #2667).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14876 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2667.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2667.v b/test-suite/bugs/closed/shouldsucceed/2667.v
new file mode 100644
index 0000000000..d920804d2d
--- /dev/null
+++ b/test-suite/bugs/closed/shouldsucceed/2667.v
@@ -0,0 +1,5 @@
+(* Check that not too many arguments are given to Arguments Scope *)
+
+Inductive stmt : Type := Sskip: stmt | Scall : nat -> stmt.
+Bind Scope Cminor with stmt.
+Fail Arguments Scope Scall [_ Cminor ]. (* At most 1 argument expected *)