1// run
2
3// Copyright 2021 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.
6
7package main
8
9import "fmt"
10
11type myStruct struct {
12	F0 [0]struct{}
13	F1 float32
14}
15
16type myStruct2 struct {
17	F0 [0]struct{}
18	F1 float32
19	F2 [0]struct{}
20}
21
22func main() {
23	x := myStruct{F1: -1.25}
24	fmt.Println(x)
25	x2 := myStruct2{F1: -7.97}
26	fmt.Println(x2)
27}
28