diff --git a/test/imported.cinaps b/test/imported.cinaps new file mode 100644 index 0000000..7043bd9 --- /dev/null +++ b/test/imported.cinaps @@ -0,0 +1,3 @@ +(* -*- mode: tuareg -*- *) + +let to_print = [ "from"; "included.cinaps" ] \ No newline at end of file diff --git a/test/test_staged.ml b/test/test_staged.ml index 3e75bba..4db02dd 100644 --- a/test/test_staged.ml +++ b/test/test_staged.ml @@ -13,6 +13,11 @@ let foo_string = foo_string (*$*) +(*$ #use "imported.cinaps";; + let () = List.iter to_print ~f:printf +*) +(*$*) + (*$ let blah () = printf "42" let foo () = printf "1" let bar () = printf "2" $*)