aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/ocaml/constructor_rename_runme.ml
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ocaml/constructor_rename_runme.ml')
-rw-r--r--Examples/test-suite/ocaml/constructor_rename_runme.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/constructor_rename_runme.ml b/Examples/test-suite/ocaml/constructor_rename_runme.ml
new file mode 100644
index 000000000..5e5553838
--- /dev/null
+++ b/Examples/test-suite/ocaml/constructor_rename_runme.ml
@@ -0,0 +1,5 @@
+open Swig
+open Constructor_rename
+
+let x = new_RenamedConstructor '()
+let _ = assert ((x -> ":classof" () as string) = "Foo")