aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/abstract_access_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/abstract_access_runme.ml')
-rw-r--r--Examples/test-suite/ocaml/abstract_access_runme.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/abstract_access_runme.ml b/Examples/test-suite/ocaml/abstract_access_runme.ml
new file mode 100644
index 000000000..77ad88667
--- /dev/null
+++ b/Examples/test-suite/ocaml/abstract_access_runme.ml
@@ -0,0 +1,5 @@
+open Swig
+open Abstract_access
+
+let d = new_D '()
+let _ = assert ((d -> "do_x" () as int) = 1)