1
// Copyright 2012 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
15
var v2 = struct { X, Y int }{1, 2}
17
t1 := reflect.TypeOf(v1)
18
t2 := reflect.TypeOf(v2)
19
if !t1.AssignableTo(t2) {
22
if !t2.AssignableTo(t1) {