blob: 352c87385f32520b17dfaf29a63be8f6a563f786 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
(* Test error messages *)
(* Test non-regression of bug fixed in r13486 (bad printer for module names) *)
Module Type S.
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.
|