github.com/mangodowner/go-gm@v0.0.0-20180818020936-8baa2bd4408c/src/cmd/vet/testdata/asm/asm.go (about)

     1  // Copyright 2010 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build ignore
     6  
     7  // This file contains declarations to test the assembly in test_asm.s.
     8  
     9  package testdata
    10  
    11  type S struct {
    12  	i int32
    13  	b bool
    14  	s string
    15  }
    16  
    17  func arg1(x int8, y uint8)
    18  func arg2(x int16, y uint16)
    19  func arg4(x int32, y uint32)
    20  func arg8(x int64, y uint64)
    21  func argint(x int, y uint)
    22  func argptr(x *byte, y *byte, c chan int, m map[int]int, f func())
    23  func argstring(x, y string)
    24  func argslice(x, y []string)
    25  func argiface(x interface{}, y interface {
    26  	m()
    27  })
    28  func argcomplex(x complex64, y complex128)
    29  func argstruct(x S, y struct{})
    30  func argarray(x [2]S)
    31  func returnint() int
    32  func returnbyte(x int) byte
    33  func returnnamed(x byte) (r1 int, r2 int16, r3 string, r4 byte)
    34  func returnintmissing() int
    35  func leaf(x, y int) int
    36  
    37  func noprof(x int)
    38  func dupok(x int)
    39  func nosplit(x int)
    40  func rodata(x int)
    41  func noptr(x int)
    42  func wrapper(x int)
    43  
    44  func f15271() (x uint32)
    45  func f17584(x float32, y complex64)