diff options
Diffstat (limited to 'boot/tests/transpile/basic.cskt')
| -rw-r--r-- | boot/tests/transpile/basic.cskt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boot/tests/transpile/basic.cskt b/boot/tests/transpile/basic.cskt new file mode 100644 index 0000000..f904259 --- /dev/null +++ b/boot/tests/transpile/basic.cskt @@ -0,0 +1,16 @@ +the transpiler has to follow a simple pattern of +the files it creates to make viable c source. +here we check that the simplest possible file has +all of the expected parts needed. + +<<< + +main = fun () { +} + +>>> + +#include "boot/runtime/core.c" +void catskill_main(void) { +} +#include "boot/runtime/runtime.c" \ No newline at end of file |
