projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added C and Ocaml bindings for functions, basic blocks, and
[oota-llvm.git]
/
test
/
Bindings
/
Ocaml
/
bitwriter.ml
diff --git
a/test/Bindings/Ocaml/bitwriter.ml
b/test/Bindings/Ocaml/bitwriter.ml
index 5421e09bceaf2e6212611594c22c14f433d2c60d..7bcdd4768f98851bfd9fe19af9eb97f4ad366f43 100644
(file)
--- a/
test/Bindings/Ocaml/bitwriter.ml
+++ b/
test/Bindings/Ocaml/bitwriter.ml
@@
-11,6
+11,6
@@
let test x = if not x then exit 1 else ()
let _ =
let m = Llvm.create_module "ocaml_test_module" in
- ignore (Llvm.
add
_type_name "caml_int_ty" Llvm.i32_type m);
+ ignore (Llvm.
define
_type_name "caml_int_ty" Llvm.i32_type m);
test (Llvm_bitwriter.write_bitcode_file m Sys.argv.(1))