mirror of
https://github.com/golang/go
synced 2024-11-14 14:50:23 -07:00
1912632019
bonus: type switch now detects multiple uses of identical interface types. bonus: interface types are now order-independent, following the spec. R=ken2 CC=golang-dev https://golang.org/cl/194053
13 lines
347 B
Go
13 lines
347 B
Go
// $G $D/$F.dir/bug0.go &&
|
|
// $G $D/$F.dir/bug1.go &&
|
|
// $G $D/$F.dir/bug2.go &&
|
|
// errchk $G -e $D/$F.dir/bug3.go &&
|
|
// $L bug2.$A &&
|
|
// ./$A.out || echo BUG: failed to compile
|
|
|
|
// 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.
|
|
|
|
ignored
|