1// Copyright 2013 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
5package a
6
7var global, global2 *int
8
9type T struct {
10	Pointer *int
11}
12
13//go:noinline
14func Store(t *T) {
15	global = t.Pointer
16}
17
18//go:noinline
19func Store2(t *T) {
20	global2 = t.Pointer
21}
22
23func Get() *int {
24	return global
25}
26