aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ltac2.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ltac2.v b/tests/ltac2.v
index 3d3d0032c5..770d385406 100644
--- a/tests/ltac2.v
+++ b/tests/ltac2.v
@@ -117,3 +117,15 @@ Goal True.
Proof.
refine! I.
Abort.
+
+Goal True.
+Proof.
+let x _ := plus (fun _ => 0) (fun _ => 1) in
+match case x with
+| Val x =>
+ match x with
+ | (x, k) => Message.print (Message.of_int (k Not_found))
+ end
+| Err x => Message.print (Message.of_string "Err")
+end.
+Abort.