3 // Copyright 2018 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 // Issue 27278: dead auto elim deletes an auto and its
8 // initialization, but it is live because of a nil check.
17 func (t *T) M() []string {
25 func (t *T2) M() []string {
33 func (t *T3) M() []string {
48 // grow stack, triggers stack copy
56 // put some junk on stack, which cannot be valid address
59 x := [10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}