3 // Copyright 2013 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 // Check go:noescape annotations.
11 // The noescape comment only applies to the next func,
12 // which must not have a body.
24 var buf2 [10]byte // ERROR "moved to heap: buf2"