[OCaml] Do not use -warn-error in tests.
[oota-llvm.git] / test / Bindings / OCaml / linker.ml
index 1ea0be9d3dc3205008c54f39ba7d97fad8880113..275a143d1789fb554e1d2c58e7560e964943e273 100644 (file)
@@ -1,7 +1,7 @@
 (* RUN: cp %s %T/linker.ml
- * RUN: %ocamlc -g -warn-error A -package llvm.linker -linkpkg %T/linker.ml -o %t
+ * RUN: %ocamlc -g -w +A -package llvm.linker -linkpkg %T/linker.ml -o %t
  * RUN: %t
- * RUN: %ocamlopt -g -warn-error A -package llvm.linker -linkpkg %T/linker.ml -o %t
+ * RUN: %ocamlopt -g -w +A -package llvm.linker -linkpkg %T/linker.ml -o %t
  * RUN: %t
  * XFAIL: vg_leak
  *)