test/blackbox-tests/test-cases/custom-cross-compilation/ppx-runtime-libraries-transitive.t/other-ppx/plugins/other_ppx_eq.ml
raw| 1 | let deriver = "eq" |
| 2 | |
| 3 | let main () = |
| 4 | let out = ref "" in |
| 5 | let args = |
| 6 | [ ("-o", Arg.Set_string out, "") |
| 7 | ; ("--impl", Arg.Set_string (ref ""), "") |
| 8 | ; ("--as-ppx", Arg.Set (ref false), "") |
| 9 | ; ("--cookie", Arg.Set (ref false), "") |
| 10 | ] |
| 11 | in |
| 12 | let anon _ = () in |
| 13 | Arg.parse (Arg.align args) anon ""; |
| 14 | let out = open_out !out in |
| 15 | close_out out; |