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
7package codegen
8
9//go:noinline
10func f(x int32) {
11}
12
13func g(p *int32) {
14	// argument marshaling code should live at line 17, not line 15.
15	x := *p
16	// 386: `MOVL\s[A-Z]+,\s\(SP\)`
17	f(x)
18}
19