Logo
Explore Help
Register Sign In
code/avo
1
0
Fork 0
You've already forked avo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f24831f29d41c21210adabf4287c278caed41b8c
avo/tests/fixedbugs/issue191/issue191_test.go

10 lines
142 B
Go
Raw Normal View History

gotypes: fix argument size for signatures without return types (#212) This fixes a bug in argument size calculation in the case where the function has no return values. Previously it was padding the argument struct to max alignment, but this only happens if there are return values following. Updates #191
2021-10-30 13:32:25 -07:00
package issue191
import "testing"
//go:generate go run asm.go -out issue191.s -stubs stub.go
func TestUint16(t *testing.T) {
Uint16(42)
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 160ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API