about summary refs log tree commit diff
path: root/boot/tests/transpile/basic.cskt
blob: f9042597c87af5c2647e5986f21b29d853ee72ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"