test-suite/bugs/bug_14708.v
raw| 1 | Notation "'xbar'" := _. |
| 2 | Fail Check match _ with xbar bli => _ end. |
| 3 | |
| 4 | Declare Custom Entry stlc. |
| 5 | Notation "<{ e }>" := e (e custom stlc at level 99). |
| 6 | Notation "x" := x (in custom stlc at level 0, x constr at level 0). |
| 7 | |
| 8 | Check fun x => |
| 9 | match x with |
| 10 | | <{ pair }> when true => _ |
| 11 | | _ => 1 |
| 12 | end. |