test-suite/misc/attributes/theories/attr.v
raw| 1 | Declare ML Module "rocq-test-suite.attribute". |
| 2 | |
| 3 | #[print] |
| 4 | Definition foo : True := I. |
| 5 | |
| 6 | #[print] |
| 7 | Definition bar : False -> False := fun x => x. |
| 8 | |
| 9 | Fail #[error] |
| 10 | Definition baz : False -> False := fun x => x. |
| 11 | |
| 12 | (* par marshals th summary, enforcing that it doesn't contain closures *) |
| 13 | Lemma parfoo : True /\ True. |
| 14 | Proof. |
| 15 | split. |
| 16 | par: exact I. |
| 17 | Defined. |