test de -warn-error

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2000-08-23 17:10:53 +00:00
parent 6abd94399c
commit 6b893661dd
1 changed files with 44 additions and 0 deletions

44
test/Moretest/warnings.ml Normal file
View File

@ -0,0 +1,44 @@
(* C *)
let foo = ( *);;
(* F *)
let f x y = x;;
f 1; f 1;;
(* M *)
(* duh *)
(* P *)
let 1 = 1;;
(* S *)
1; 1;;
(* U *)
match 1 with
| 1 -> ()
| 1 -> ()
| _ -> ()
;;
(* V *)
(* re-duh *)
(* X *)
(* re-re *)