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.
18 panic("deferred function not run")
32 _
, file
, line
, _
:= runtime
.Caller(2)
33 if !strings
.HasSuffix(file
, "issue5856.go") || line
!= 28 {
34 fmt
.Printf("BUG: defer called from %s:%d, want issue5856.go:28\n", file
, line
)