mirror of
https://github.com/golang/go
synced 2024-11-18 08:44:43 -07:00
0bd7408f90
Fixes #52673 Change-Id: Ib2faa5a669c05778fc6beb38c3e63d558af9b2be Reviewed-on: https://go-review.googlesource.com/c/go/+/403995 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
17 lines
325 B
Go
17 lines
325 B
Go
// compile
|
|
|
|
// Copyright 2022 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package p
|
|
|
|
func f() {
|
|
var x string
|
|
func() [10][]bool {
|
|
return [10][]bool{
|
|
[]bool{bool(x < "")},
|
|
[]bool{}, []bool{}, []bool{}, []bool{}}
|
|
}()
|
|
}
|