test-suite/output/bug_10803.v
raw| 1 | Inductive Foo := foo. |
| 2 | Declare Scope foo_scope. |
| 3 | Delimit Scope foo_scope with foo. |
| 4 | Bind Scope foo_scope with Foo. |
| 5 | Notation "'!'" := foo : foo_scope. |
| 6 | Definition of_foo {x : nat} {y : nat} (f : Foo) := f. |
| 7 | Abbreviation a := (@of_foo O). |
| 8 | Abbreviation b := (@a). |
| 9 | Check a !. |
| 10 | Check @a O !. |
| 11 | Check @b O. |
| 12 | Check @b O !. (* was failing *) |
| 13 | (* All are printed "a !", without making explicit the "0", which is |
| 14 | incidentally disputable *) |