From f629bd63917ca1fdacf5a3da4ee2ac7f3cba7398 Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 4 Jan 2012 14:56:33 +0000 Subject: 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 --- test-suite/bugs/closed/shouldsucceed/2667.v | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-suite/bugs/closed/shouldsucceed/2667.v (limited to 'test-suite') 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 *) -- cgit v1.2.3