diff options
author | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
commit | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (patch) | |
tree | ad89c6bb57ceee608fcba2bb3435b74e0f57919e /test-suite/failure/ltac2.v | |
parent | 018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff) |
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/failure/ltac2.v')
-rw-r--r-- | test-suite/failure/ltac2.v | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test-suite/failure/ltac2.v b/test-suite/failure/ltac2.v index 55925a7a..14436e58 100644 --- a/test-suite/failure/ltac2.v +++ b/test-suite/failure/ltac2.v @@ -1,6 +1,6 @@ (* Check that Match arguments are forbidden *) -Tactic Definition E x := Apply x. -Goal True->True. -E (Match Context With [ |- ? ] -> Intro H). -(* Should fail with "Immediate Match producing tactics not allowed in - local definitions" *) +Ltac E x := apply x. +Goal True -> True. +E ltac:(match goal with + | |- _ => intro H + end). |