todo: Add note about using blktrace.
[libguestfs.git] / ocaml / t / guestfs_005_load.ml
index 779e1c0..8b4492a 100644 (file)
@@ -1,5 +1,5 @@
 (* libguestfs OCaml bindings
 (* libguestfs OCaml bindings
- * Copyright (C) 2009 Red Hat Inc.
+ * Copyright (C) 2009-2010 Red Hat Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -17,3 +17,8 @@
  *)
 
 let _ = Guestfs.create
  *)
 
 let _ = Guestfs.create
+
+(* Also try the OO style. *)
+let _ =
+  let g = new Guestfs.guestfs () in
+  g#get_verbose ()