3 // Copyright 2014 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // liveness tests with inlining ENABLED
12 // issue 8142: lost 'addrtaken' bit on inlined variables.
13 // no inlining in this test, so just checking that non-inlined works.
20 ret := T40{ // ERROR "live at call to makemap: &ret"
27 t := newT40() // ERROR "live at call to makemap: ret"
28 println() // ERROR "live at call to printnl: ret"
33 ret := T40{ // ERROR "live at call to makemap: ret"
37 println() // ERROR "live at call to printnl: ret"