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
13func dontinline() {}
14
15func Store(t *T) {
16	global = t.Pointer
17	dontinline()
18}
19
20func Store2(t *T) {
21	global2 = t.Pointer
22	dontinline()
23}
24
25func Get() *int {
26	return global
27}
28