go/src/cmd/asm/internal/asm/operand_test.go

func setArch(goarch string) (*arch.Arch, *obj.Link) {}

func newParser(goarch string) *Parser {}

// tryParse executes parse func in panicOnError=true context.
// parse is expected to call any parsing methods that may panic.
// Returns error gathered from recover; nil if no parse errors occurred.
//
// For unexpected panics, calls t.Fatal.
func tryParse(t *testing.T, parse func()) (err error) {}

func testBadOperandParser(t *testing.T, parser *Parser, tests []badOperandTest) {}

func testOperandParser(t *testing.T, parser *Parser, tests []operandTest) {}

func TestAMD64OperandParser(t *testing.T) {}

func Test386OperandParser(t *testing.T) {}

func TestARMOperandParser(t *testing.T) {}

func TestARM64OperandParser(t *testing.T) {}

func TestPPC64OperandParser(t *testing.T) {}

func TestMIPSOperandParser(t *testing.T) {}

func TestMIPS64OperandParser(t *testing.T) {}

func TestLOONG64OperandParser(t *testing.T) {}

func TestS390XOperandParser(t *testing.T) {}

func TestFuncAddress(t *testing.T) {}

type operandTest

type badOperandTest

var amd64OperandTests

var amd64RuntimeOperandTests

var amd64BadOperandTests

var amd64BadOperandRuntimeTests

var x86OperandTests

var armOperandTests

var ppc64OperandTests

var arm64OperandTests

var mips64OperandTests

var mipsOperandTests

var loong64OperandTests

var s390xOperandTests