1 (*i $Id: gen_test.ml,v 1.2 2008/02/01 10:48:33 signoles Exp $ i*)
4 let ok () = incr ok_ref
8 let bug () = incr bug_ref
9 let nb_bug () = !bug_ref
16 if x then ok () else begin Printf.printf "%s\n" s; bug () end;;
20 ignore (Lazy.force x);
21 Printf.printf "%s\n" s;