1// Copyright 2019 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.
4
5package ssa
6
7type T struct{}
8
9func (T) foo() {}
10
11type fooer interface {
12	foo()
13}
14
15func Unused(v interface{}) {
16	v.(fooer).foo()
17	v.(interface{ foo() }).foo()
18}
19