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
10 lines
142 B
Go
10 lines
142 B
Go
package issue191
|
|
|
|
import "testing"
|
|
|
|
//go:generate go run asm.go -out issue191.s -stubs stub.go
|
|
|
|
func TestUint16(t *testing.T) {
|
|
Uint16(42)
|
|
}
|