1// Copyright 2021 The Go Authors. All rights reserved. Use of this 2// source code is governed by a BSD-style license that can be found in 3// the LICENSE file. 4 5package main 6 7import ( 8 "./a" 9) 10 11type Term struct { 12 top *a.Table 13} 14 15//go:noinline 16func NewFred() *Term { 17 table := a.NewTable() 18 return &Term{top: table} 19} 20 21func main() { 22 NewFred() 23} 24