Ajout du test des exports multiples.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
0bdd720539
commit
3a9f81c395
|
@ -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
|
|
@ -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:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
let f x = x + 1
|
|
@ -0,0 +1,2 @@
|
|||
val f : int -> int
|
||||
val f : int -> int
|
|
@ -0,0 +1 @@
|
|||
let _ = print_int(Multdef.f 1); print_newline(); exit 0
|
Loading…
Reference in New Issue