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
5 lines
184 B
Go
5 lines
184 B
Go
// Package issue191 tests for correct argument size for a function taking a
|
|
// single uint16 argument. Prior to the fix, this test case triggered an asmdecl
|
|
// error.
|
|
package issue191
|