diff options
Diffstat (limited to 'test-suite/bugs/closed/2667.v')
-rw-r--r-- | test-suite/bugs/closed/2667.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2667.v b/test-suite/bugs/closed/2667.v new file mode 100644 index 00000000..0631e535 --- /dev/null +++ b/test-suite/bugs/closed/2667.v @@ -0,0 +1,11 @@ +(* Check that extra arguments to Arguments Scope do not disturb use of *) +(* scopes in constructors *) + +Inductive stmt : Type := Sskip: stmt | Scall : nat -> stmt. +Bind Scope Cminor with stmt. + +(* extra argument is ok because of possible coercion to funclass *) +Arguments Scope Scall [_ Cminor ]. + +(* extra argument is ok because of possible coercion to funclass *) +Fixpoint f (c: stmt) : Prop := match c with Scall _ => False | _ => False end. |