summaryrefslogtreecommitdiff
path: root/test-suite/output/Errors.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/output/Errors.v')
-rw-r--r--test-suite/output/Errors.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/output/Errors.v b/test-suite/output/Errors.v
index 75763f3b..352c8738 100644
--- a/test-suite/output/Errors.v
+++ b/test-suite/output/Errors.v
@@ -7,3 +7,12 @@ Parameter t:Type.
End S.
Module M : S.
Fail End M.
+
+(* A simple check of how Ltac trace are used or not *)
+(* Unfortunately, cannot test error location... *)
+
+Ltac f x := apply x.
+Goal True.
+Fail simpl; apply 0.
+Fail simpl; f 0.
+Abort.