tinygo/compiler/testdata
Ayke van Laethem a848d720db compiler: refactor and add tests
This commit finally introduces unit tests for the compiler, to check
whether input Go code is converted to the expected output IR.

To make this necessary, a few refactors were needed. Hopefully these
refactors (to compile a program package by package instead of all at
once) will eventually become standard, so that packages can all be
compiled separate from each other and be cached between compiles.
2021-01-15 14:43:43 +01:00
..
basic.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
basic.ll compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.ll compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
slice.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
slice.ll compiler: refactor and add tests 2021-01-15 14:43:43 +01:00