tinygo/testdata
Steven Kabbes 4c7449efe5 compiler: alignof [0]func() = 1
In the go protobuf code, a pattern is used to statically prevent
comparable structs by embedding:

```
type DoNotCompare [0]func()

type message struct {
  DoNotCompare
  data *uint32
}
```

Previously, sizezof(message{}) is 2 words large, but it only needs to be
1 byte.  Making it be 1 byte allows protobufs to compile slightly more
(though not all the way).
2022-05-19 08:02:32 +02:00
..
cgo cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
alias.go fix bug in IR regarding type aliases 2019-09-20 10:35:49 +02:00
alias.txt
atomic.go
atomic.txt
binop.go
binop.txt
calls.go
calls.txt
channel.go
channel.txt
corpus.yaml
env.go
env.txt
filesystem.go
filesystem.txt
float.go
float.txt
gc.go
gc.txt runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +01:00
go1.17.go
go1.17.txt compiler: add support for new language features of Go 1.17 2021-08-30 09:18:58 +02:00
goroutines.go
goroutines.txt
init.go
init.txt
init_multi.go
init_multi.txt
interface.go
interface.txt
json.go
json.txt
ldflags.go main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
ldflags.txt main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
map.go avr: enable testdata/map.go 2022-05-18 15:20:09 +02:00
map.txt
math.go
math.txt runtime: add support for math package 2019-02-05 19:37:21 +01:00
print.go runtime: use dedicated printfloat32 2020-10-02 11:26:22 +02:00
print.txt runtime: use dedicated printfloat32 2020-10-02 11:26:22 +02:00
rand.go
rand.txt wasm: add support for the crypto/rand package 2021-08-05 19:01:14 +02:00
reflect.go compiler: alignof [0]func() = 1 2022-05-19 08:02:32 +02:00
reflect.txt compiler: fix incorrect unsafe.Alignof on some 32-bit architectures 2022-03-04 00:04:17 +01:00
slice.go
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
sort.go
sort.txt implement reflect.Swapper 2020-10-23 21:37:35 +02:00
stdlib.go
stdlib.txt
string.go
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go
structs.txt
testing.go On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00
testing.txt
testing_go118.go
testing_go118.txt
zeroalloc.go
zeroalloc.txt