1// run 2 3// Copyright 2009 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 9func main() { 10 11 type T struct { 12 s string 13 f float64 14 } 15 var s string = "hello" 16 var f float64 = 0.2 17 t := T{s, f} 18 19 type M map[int]int 20 m0 := M{7: 8} 21 22 _, _ = t, m0 23} 24