Source file test/codegen/issue59297.go

     1  // asmcheck
     2  
     3  // Copyright 2023 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package codegen
     8  
     9  func f(x, y int, p *int) {
    10  	// amd64:`MOVQ\sAX, BX`
    11  	h(8, x)
    12  	*p = y
    13  }
    14  
    15  //go:noinline
    16  func h(a, b int) {
    17  }
    18  

View as plain text