1// compile
2
3// Copyright 2020 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
7// Ensure that late expansion correctly handles an OpLoad with type interface{}
8
9package p
10
11type iface interface {
12	m()
13}
14
15type it interface{}
16
17type makeIface func() iface
18
19func f() {
20	var im makeIface
21	e := im().(it)
22	_ = &e
23}
24