summaryrefslogtreecommitdiff
path: root/test-suite/failure/ltac1.v
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
committerGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
commit2c4a6b4efe55a2c6ca9ca7b185723e7909e57269 (patch)
treee1542c8adb83ff297284eefc23a2703461713d9b /test-suite/failure/ltac1.v
parent514dce2dfe717e3ed2e37dce6467b56219d451c1 (diff)
parent3ef7797ef6fc605dfafb32523261fe1b023aeecb (diff)
Merge commit 'upstream/8.0pl3+8.1alpha' into 8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/failure/ltac1.v')
-rw-r--r--test-suite/failure/ltac1.v8
1 files changed, 5 insertions, 3 deletions
diff --git a/test-suite/failure/ltac1.v b/test-suite/failure/ltac1.v
index d0256619..7b496a75 100644
--- a/test-suite/failure/ltac1.v
+++ b/test-suite/failure/ltac1.v
@@ -1,5 +1,7 @@
(* Check all variables are different in a Context *)
-Tactic Definition X := Match Context With [ x:?; x:? |- ? ] -> Apply x.
-Goal True->True->True.
-Intros.
+Ltac X := match goal with
+ | x:_,x:_ |- _ => apply x
+ end.
+Goal True -> True -> True.
+intros.
X.