3 // Copyright 2019 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 closure in const declaration group can be compiled
8 // and set correct value
15 x = unsafe.Sizeof(func() {})
21 z = unsafe.Sizeof(func() {})
25 // x and y must be equal
27 // size must be greater than zero
30 // Same logic as x, y above