1 // $G $D/$F.go && $L $F.$A && ! ./$A.out || echo BUG: should crash
3 // Copyright 2009 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.
9 type T struct {a, b int};
11 func f(x interface{}) interface{} {
12 type T struct {a, b int};
37 but it should crash: The type assertion on line 14 should fail
38 for the 2nd call to f with outer_T.