Ajout du test des exports multiples.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1996-03-20 10:51:37 +00:00
parent 0bdd720539
commit 3a9f81c395
5 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
multdef.cmo: multdef.cmi
multdef.cmx: multdef.cmi
structinit2.cmo: structinit1.cmo
structinit2.cmx: structinit1.cmx
usemultdef.cmo: multdef.cmi
usemultdef.cmx: multdef.cmx

View File

@ -17,6 +17,9 @@ manyargs.byt: manyargs.cmo manyargsprim.o
manyargs.out: manyargs.cmx manyargsprim.o
$(CAMLOPT) -o manyargs.out manyargs.cmx manyargsprim.o
multdef.out: multdef.cmx usemultdef.cmx
$(CAMLOPT) -o multdef.out multdef.cmx usemultdef.cmx
# Common rules
.SUFFIXES:

1
test/Moretest/multdef.ml Normal file
View File

@ -0,0 +1 @@
let f x = x + 1

View File

@ -0,0 +1,2 @@
val f : int -> int
val f : int -> int

View File

@ -0,0 +1 @@
let _ = print_int(Multdef.f 1); print_newline(); exit 0