| // $G $D/$F.go && $L $F.$A && ./$A.out |
| // Copyright 2009 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| // Try to tickle stack splitting bugs by doing |
| // go, defer, and closure calls at different stack depths. |
| func g(c chan int, t T) { |
| for i := 0; i < len(t); i++ { |
| for i := 0; i < len(t); i++ { |
| var b = []byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} |
| panic("bad []byte -> string") |
| for i := 0; i < len(t); i++ { |
| println("bad func", s, "at level", n) |
| for i := 0; i < len(t); i++ { |