• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package a
6
7import "cmd/compile/internal/loopvar/testdata/inlines/b"
8
9func F() []*int {
10	var s []*int
11	for i := 0; i < 10; i++ {
12		s = append(s, &i)
13	}
14	return s
15}
16
17func Fb() []*int {
18	bf, _ := b.F()
19	return bf
20}
21