Use linked compilation in test_inputs.rs and add test

This commit is contained in:
Andrew Morris
2023-03-09 15:38:03 +11:00
parent e2f41deb95
commit e50ad6bf59
4 changed files with 38 additions and 15 deletions

View File

@@ -0,0 +1,3 @@
export default function foo() {
return "this is the foo function";
}

View File

@@ -0,0 +1,7 @@
// test_output! "this is the foo function"
import foo from "./helpers/foo.ts";
export default function () {
return foo();
}