github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/cmd/vet/test_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 main
    10  
    11  func arg1(x int8, y uint8)
    12  func arg2(x int16, y uint16)
    13  func arg4(x int32, y uint32)
    14  func arg8(x int64, y uint64)
    15  func argint(x int, y uint)
    16  func argptr(x *byte, y *byte, c chan int, m map[int]int, f func())
    17  func argstring(x, y string)
    18  func argslice(x, y []string)
    19  func argiface(x interface{}, y interface {
    20  	m()
    21  })
    22  func returnint() int
    23  func returnbyte(x int) byte
    24  func returnnamed(x byte) (r1 int, r2 int16, r3 string, r4 byte)