3 // Copyright 2011 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 // Test the run-time behavior of escape analysis-related optimizations.
29 func check1(pass int) T1 {
30 v := []T1{{X: f(), Z: f()}}