3 // Copyright 2020 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.
11 _ = make([]byte, 1<<17) // ERROR "too large for stack" ""
12 _ = make([]byte, 100, 1<<17) // ERROR "too large for stack" ""
13 _ = make([]byte, n, 1<<17) // ERROR "too large for stack" ""
15 _ = make([]byte, n) // ERROR "non-constant size" ""
16 _ = make([]byte, 100, m) // ERROR "non-constant size" ""