/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue4964.dir/a.go
25 строк
379 B
Todd Neal
test: use go:noinline consistently
03 ноя 2015, 05:01
03 ноя 2015, 05:01
e3e0122
Код
Авторство
О чём код?
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a var global, global2 *int type T struct { Pointer *int } //go:noinline func Store(t *T) { global = t.Pointer } //go:noinline func Store2(t *T) { global2 = t.Pointer } func Get() *int { return global }