Non-regression test for #6032.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13751 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
4ae200a678
commit
9e0d1579ee
|
@ -0,0 +1,15 @@
|
|||
#########################################################################
|
||||
# #
|
||||
# OCaml #
|
||||
# #
|
||||
# Xavier Clerc, SED, INRIA Rocquencourt #
|
||||
# #
|
||||
# Copyright 2010 Institut National de Recherche en Informatique et #
|
||||
# en Automatique. All rights reserved. This file is distributed #
|
||||
# under the terms of the Q Public License version 1.0. #
|
||||
# #
|
||||
#########################################################################
|
||||
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
|
@ -0,0 +1,6 @@
|
|||
let () =
|
||||
Random.self_init ();
|
||||
let x = Random.int 10000 in
|
||||
Random.self_init ();
|
||||
let y = Random.int 1000 in
|
||||
if x = y then print_endline "FAILED" else print_endline "PASSED"
|
|
@ -0,0 +1 @@
|
|||
PASSED
|
Loading…
Reference in New Issue