mirror of
https://github.com/golang/go
synced 2024-11-22 06:54:39 -07:00
5261be20eb
which turns out to be invalid. R=rsc DELTA=15 (15 added, 0 deleted, 0 changed) OCL=33691 CL=33693
13 lines
303 B
Go
13 lines
303 B
Go
// errchk $G $D/$F.go
|
|
|
|
// 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.
|
|
|
|
package main
|
|
|
|
type I1 interface { I2 } // ERROR "interface"
|
|
type I2 int
|
|
|
|
type I3 interface { int } // ERROR "interface"
|