diff --git a/examples/import/import-test-1e.ck b/examples/import/import-test-1e.ck new file mode 100644 index 000000000..cd99a7f3a --- /dev/null +++ b/examples/import/import-test-1e.ck @@ -0,0 +1,8 @@ +// import statements in code evaluated by Machine.eval inherits +// the host file/code's path (otherwise it defaults to the working +// directory of the chuck host system) +Machine.eval(" + @import \"Foo.ck\" + Foo a(1), b(2); + <<< (a + b).num >>>; +");