diff options
Diffstat (limited to 'Examples/test-suite/ocaml/static_const_member_runme.ml')
-rw-r--r-- | Examples/test-suite/ocaml/static_const_member_runme.ml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/static_const_member_runme.ml b/Examples/test-suite/ocaml/static_const_member_runme.ml new file mode 100644 index 000000000..02dd2fe4b --- /dev/null +++ b/Examples/test-suite/ocaml/static_const_member_runme.ml @@ -0,0 +1,9 @@ +open Swig +open Static_const_member + +let _ = + assert (_X_PN '() as int = 0); + assert (_X_CN '() as int = 1); + assert (_X_EN '() as int = 2); + assert (_X_CHARTEST '() as char = 'A'); +;; |