test-suite/bugs/bug_14211.v
raw| 1 | Axiom SForUp: nat -> nat. |
| 2 | |
| 3 | Declare Custom Entry snippet. |
| 4 | |
| 5 | Notation "## s " := s (at level 0, s custom snippet at level 100). |
| 6 | Notation "'for' i0 " := (SForUp i0) (in custom snippet at level 0, i0 ident). |
| 7 | |
| 8 | (* Another check without a custom entry *) |
| 9 | |
| 10 | Check fun i => ## for i. |
| 11 | |
| 12 | Notation "'succ' i0 " := (S i0) (at level 0, i0 ident). |
| 13 | Check fun i => S i. |