aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-11 14:47:28 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-11 14:47:28 +0000
commitfa6ab4393ebb7add77a4a957dc50453d07b54a62 (patch)
tree374549c7b1c82b390e1db4581067b38093a811e9 /test
parent786a43e2d8f98034046b7fd3a78d94e57a466895 (diff)
downloadexternal_llvm-fa6ab4393ebb7add77a4a957dc50453d07b54a62.zip
external_llvm-fa6ab4393ebb7add77a4a957dc50453d07b54a62.tar.gz
external_llvm-fa6ab4393ebb7add77a4a957dc50453d07b54a62.tar.bz2
[OCaml] Add missing Llvm_target functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Bindings/Ocaml/target.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Bindings/Ocaml/target.ml b/test/Bindings/Ocaml/target.ml
index 017a886..25a9664 100644
--- a/test/Bindings/Ocaml/target.ml
+++ b/test/Bindings/Ocaml/target.ml
@@ -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);