aboutsummaryrefslogtreecommitdiff
path: root/doc/plugin_tutorial/tuto0/theories/Demo.v
blob: 54d523942195ce5784324cba05d4a01acafc41fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From Tuto0 Require Import Loader.

(*** Printing messages ***)

HelloWorld.

Lemma test : True.
Proof.
hello_world.
Abort.

(*** Printing warnings ***)

HelloWarning.

Lemma test : True.
Proof.
hello_warning.
Abort.

(*** Signaling errors ***)

Fail HelloError.

Lemma test : True.
Proof.
Fail hello_error.
Abort.