github.com/miolini/go@v0.0.0-20160405192216-fca68c8cb408/src/cmd/vet/testdata/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  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)
    25  func returnintmissing() int
    26  func leaf(x, y int) int
    27  
    28  func noprof(x int)
    29  func dupok(x int)
    30  func nosplit(x int)
    31  func rodata(x int)
    32  func noptr(x int)
    33  func wrapper(x int)