File: ltac2.v

package info (click to toggle)
coq 8.0pl2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 14,228 kB
  • ctags: 17,685
  • sloc: ml: 97,070; makefile: 1,255; sh: 738; lisp: 456; awk: 15
file content (6 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (2)
1
2
3
4
5
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" *)