[PATCH] [OCaml] fix syntax errors in linker test

Ramkumar Ramachandra artagnon at gmail.com
Tue Dec 23 17:43:48 PST 2014


Hi whitequark,

A couple of loose ends.

http://reviews.llvm.org/D6773

Files:
  test/Bindings/OCaml/linker.ml

Index: test/Bindings/OCaml/linker.ml
===================================================================
--- test/Bindings/OCaml/linker.ml
+++ test/Bindings/OCaml/linker.ml
@@ -39,7 +39,7 @@
 
   let m1 = make_module "one"
   and m2 = make_module "two" in
-  link_modules m1 m2 Mode.PreserveSource;
+  link_modules m1 m2;
   dispose_module m1;
   dispose_module m2;
 
@@ -51,7 +51,7 @@
   let m1 = make_module "one"
   and m2 = make_module "one" in
   try
-    link_modules m1 m2 Mode.PreserveSource;
+    link_modules m1 m2;
     failwith "must raise"
   with Error _ ->
     dispose_module m1;

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6773.17617.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141224/ca3c171c/attachment.bin>


More information about the llvm-commits mailing list