summaryrefslogtreecommitdiff
path: root/Examples/ocaml/scoped_enum/example_prog.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ocaml/scoped_enum/example_prog.ml')
-rw-r--r--Examples/ocaml/scoped_enum/example_prog.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/ocaml/scoped_enum/example_prog.ml b/Examples/ocaml/scoped_enum/example_prog.ml
new file mode 100644
index 0000000..e19bb34
--- /dev/null
+++ b/Examples/ocaml/scoped_enum/example_prog.ml
@@ -0,0 +1,4 @@
+open Swig
+open Example
+
+let _ = _f (match Sys.argv.(1) with "Tag1" -> ``Tag1 | _ -> ``Tag2)