summaryrefslogtreecommitdiffstats
path: root/stdlib/camlinternalOO.ml
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2012-05-29 11:47:28 +0000
committerAlain Frisch <alain@frisch.fr>2012-05-29 11:47:28 +0000
commita0a14c08fa467bc6a40b268f0dbba9568e241e17 (patch)
tree0a248584e83daee65471533c0d5c34252c333527 /stdlib/camlinternalOO.ml
parent05c973e6ed4be5e2fb28ef97b9659c9677ccbfd1 (diff)
Enable and fix more warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/camlinternalOO.ml')
-rw-r--r--stdlib/camlinternalOO.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/camlinternalOO.ml b/stdlib/camlinternalOO.ml
index 6d7871465..1abb7e550 100644
--- a/stdlib/camlinternalOO.ml
+++ b/stdlib/camlinternalOO.ml
@@ -58,6 +58,7 @@ let initial_object_size = 2
(**** Items ****)
type item = DummyA | DummyB | DummyC of int
+let _ = [DummyA; DummyB; DummyC 0] (* to avoid warnings *)
let dummy_item = (magic () : item)
@@ -67,6 +68,8 @@ type tag
type label = int
type closure = item
type t = DummyA | DummyB | DummyC of int
+let _ = [DummyA; DummyB; DummyC 0] (* to avoid warnings *)
+
type obj = t array
external ret : (obj -> 'a) -> closure = "%identity"