diff options
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/ltac.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/success/ltac.v b/test-suite/success/ltac.v index 05a6a70f39..880b5da11f 100644 --- a/test-suite/success/ltac.v +++ b/test-suite/success/ltac.v @@ -188,3 +188,13 @@ Ltac to_exist := Goal forall x y : nat, x = y. to_exist. exact (fun H => H). Abort. + +(* Used to fail in V8.1 *) + +Tactic Notation "test" constr(t) integer(n) := + set (k := t) in |- * at n. + +Goal forall x : nat, x = 1 -> x + x + x = 3. +intros x H. +test x 2. +Abort. |
