[OCaml] Add missing Llvm_target functions
[oota-llvm.git] / test / Bindings / Ocaml / target.ml
index 017a886059c17b84d3ec80e65df10d2ba3320538..25a96647b0d7872f47cd33d5133532be7a141f94 100644 (file)
@@ -47,6 +47,8 @@ let test_target_data () =
   assert_equal (byte_order td) Endian.Little;
   assert_equal (pointer_size td) 4;
   assert_equal (intptr_type td context) i32_type;
+  assert_equal (qualified_pointer_size td 0) 4;
+  assert_equal (qualified_intptr_type td context 0) 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);