URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.test/] [test/] [fixedbugs/] [bug367.dir/] [main.go] - Rev 700
Compare with Previous | Blame | View Log
package mainimport ("./p")type T struct{ *p.S }type I interface {get()}func main() {var t Tp.F(t)var x interface{} = t_, ok := x.(I)if ok {panic("should not satisfy main.I")}_, ok = x.(p.I)if !ok {panic("should satisfy p.I")}}
