test-suite/bugs/bug_15864.v
raw| 1 | Require Import Ltac2.Ltac2. |
| 2 | |
| 3 | (* This line is copied from https://coq.inria.fr/refman/proof-engine/ltac2.html *) |
| 4 | Notation "[ x ]" := ltac2:(let x := Ltac2.Constr.pretype x in exact $x) (only parsing). |
| 5 | |
| 6 | Check [ 1 ]. |
| 7 | |
| 8 | Notation "<< y >>" := [ y + y ] (only parsing). |
| 9 | |
| 10 | Check << 3 * 3 >>. |
| 11 | Check eq_refl : 18 = << 3 * 3 >>. |