test-suite/bugs/bug_2667.v
raw| 1 | (* Check that extra arguments to Arguments do not disturb use of *) |
| 2 | (* scopes in constructors *) |
| 3 | |
| 4 | Inductive stmt : Type := Sskip: stmt | Scall : nat -> stmt. |
| 5 | Bind Scope Cminor with stmt. |
| 6 | |
| 7 | (* extra argument is ok because of possible coercion to funclass *) |
| 8 | Arguments Scall _ _%_Cminor : extra scopes. |
| 9 | |
| 10 | (* extra argument is ok because of possible coercion to funclass *) |
| 11 | Fixpoint f (c: stmt) : Prop := match c with Scall _ => False | _ => False end. |