test-suite/bugs-nocoqchk/bug_11342.v
raw| 1 | (* -*- mode: coq; coq-prog-args: ("-vos") -*- *) |
| 2 | |
| 3 | Section foo. |
| 4 | Context {H:True}. |
| 5 | Set Default Proof Using "Type". |
| 6 | Theorem test2 : True. |
| 7 | Proof. |
| 8 | (* BUG: this gets run when compiling with -vos *) |
| 9 | fail "proof with default using". |
| 10 | exact I. |
| 11 | Qed. |
| 12 | |
| 13 | Theorem test3 : True. |
| 14 | Proof using Type. |
| 15 | (* this isn't run with -vos *) |
| 16 | fail "using". |
| 17 | exact I. |
| 18 | Qed. |
| 19 | End foo. |