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.
7
// issue 5753: bad typecheck info causes escape analysis to
8
// not run on method thunks.
14
func (t *Thing) broken(s string) []string {
26
panic(`s[0] != "foo"`)