tinygo/compiler/testdata
Ayke van Laethem 293f4ea7bc compiler: add tests for pragmas
These pragmas weren't really tested anywhere, except that some code
might break if they are not properly applied.

These tests make it easy to see they work correctly and also provide a
logical place to add new pragma tests.

I've also made a slight change to how functions and globals are created:
with the change they're also created in the IR even if they're not
referenced. This makes testing easier.
2021-06-24 15:00:30 +02:00
..
basic.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
basic.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00
float.go compiler: test float to int conversions and fix upper-bound calculation 2021-01-19 14:02:32 +01:00
float.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00
func.go compiler: add func tests 2021-04-12 12:07:42 +02:00
func.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00
goroutine-cortex-m-qemu.ll scheduler: task.Data made 64bit to avoid overflow 2021-06-01 15:00:07 +02:00
goroutine-wasm.ll scheduler: task.Data made 64bit to avoid overflow 2021-06-01 15:00:07 +02:00
goroutine.go compiler: add support for running a builtin in a goroutine 2021-05-26 20:21:08 +02:00
interface.go compiler: add interface IR test 2021-03-28 14:00:37 +02:00
interface.ll compiler: refactor method names 2021-06-17 12:17:32 +02:00
pointer.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00
pragma.go compiler: add tests for pragmas 2021-06-24 15:00:30 +02:00
pragma.ll compiler: add tests for pragmas 2021-06-24 15:00:30 +02:00
slice.go compiler: add some more slice tests 2021-03-22 11:35:06 +01:00
slice.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00
string.go compiler: optimize string literals and globals 2021-04-08 11:40:59 +02:00
string.ll compiler: use wasm for tests 2021-05-09 17:40:13 +02:00