example: Remove code which is now implicitly generated.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 17 Sep 2013 11:31:17 +0000 (12:31 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 17 Sep 2013 11:38:01 +0000 (12:38 +0100)
examples/compile-c/compile.ml

index 8e43948..151e8b7 100644 (file)
@@ -17,14 +17,3 @@ and compiled c_file =
   target (more_recent [o_file] [c_file]);
   require (file_exists c_file);
   sh "cd $builddir && cc -c %s -o %s" c_file o_file
-
-(* XXX IMPLICIT *)
-let () =
-  try goal_all ()
-  with
-  | Goal_result (Goal_failed msg) ->
-    prerr_endline ("error: " ^ msg);
-    exit 1
-  | exn ->
-    prerr_endline (Printexc.to_string exn);
-    exit 1