summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-debugger/printer/debuggee.ml
blob: ab5f293a3fc2feb0815a7cf57b54b75fbb4df38e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(* TEST_BELOW
(* Blank lines added here to preserve locations. *)












*)

let f x =
  for _i = 0 to x do
    print_endline "..."
  done

let () = f 3

(* TEST
 flags += " -g ";
 ocamldebug_script = "${test_source_directory}/input_script";
 readonly_files = "printer.ml";
 include debugger;
 debugger;
 shared-libraries;
 setup-ocamlc.byte-build-env;
 {
   module = "printer.ml";
   ocamlc.byte;
 }{
   ocamlc.byte;
   check-ocamlc.byte-output;
   ocamldebug;
   check-program-output;
 }
*)