aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-08-08 15:54:27 +0200
committerPierre-Marie Pédrot2017-08-11 17:13:15 +0200
commit77e3f7be0533fad2c31eb302a51c74b829f99e8c (patch)
treebda87bbb2bd1310b9aaa5bf638b3db74cd9a46bc /tests
parent3fbba861d5355cad92cac52965c8e76a35825c7a (diff)
Introducing a syntax for goal dispatch.
Diffstat (limited to 'tests')
-rw-r--r--tests/tacticals.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tacticals.v b/tests/tacticals.v
index 73f9c03b87..1a2fbcbb37 100644
--- a/tests/tacticals.v
+++ b/tests/tacticals.v
@@ -20,3 +20,15 @@ first [
| Message.print (Message.of_string "I won't be printed")
].
Qed.
+
+Goal True /\ True.
+Proof.
+Fail split > [ split | |].
+split > [split | split].
+Qed.
+
+Goal True /\ (True -> True) /\ True.
+Proof.
+split > [ | split] > [split | .. | split].
+intros H; refine &H.
+Qed.