[OCaml] Accept context explicitly in Llvm_target functions
[oota-llvm.git] / test / Bindings / Ocaml / target.ml
index 0f1aa18e395c6d8fc599132d9ce90722fdd24488..017a886059c17b84d3ec80e65df10d2ba3320538 100644 (file)
@@ -46,7 +46,7 @@ let test_target_data () =
   assert_equal (DataLayout.as_string td) layout;
   assert_equal (byte_order td) Endian.Little;
   assert_equal (pointer_size td) 4;
-  assert_equal (intptr_type td) i32_type;
+  assert_equal (intptr_type td context) i32_type;
   assert_equal (size_in_bits td sty) (Int64.of_int 96);
   assert_equal (store_size td sty) (Int64.of_int 12);
   assert_equal (abi_size td sty) (Int64.of_int 12);