summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue7995b.dir/x1.go
blob: bafecf52a9ce0d71db4f0cc9f52aa78a1344da72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package x1

import "fmt"

var P int

//go:noinline
func F(x *int) string {
	P = 50
	*x = 100
	return fmt.Sprintln(P, *x)
}