mte/unikernel/duniverse/ppxlib/test/driver/flag_cookie/run.t
2025-11-11 02:07:51 +01:00

10 lines
314 B
Perl

The cookie flag is taken into account, both by the main standalone
$ echo "[@@@print_cookie_x]" > impl.ml
$ ./print_cookie_driver.exe -cookie x=1 impl.ml
Value of cookie x: 1
...and by the `-as-ppx` standalone
$ ocaml -ppx './print_cookie_driver.exe --as-ppx -cookie x=1' impl.ml
Value of cookie x: 1