3 // Copyright 2013 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.
11 type Closer
interface {
15 func nilInterfaceDeferCall() {
17 // make sure a traceback happens with jmpdefer on the stack
24 func shouldPanic(f
func()) {
27 panic("did not panic")
34 shouldPanic(nilInterfaceDeferCall
)