1
0
mirror of https://github.com/golang/go synced 2024-11-22 07:24:47 -07:00
go/test/bugs/bug210.go
Robert Griesemer b0dcc6b9a4 bug210
R=rsc
DELTA=20  (20 added, 0 deleted, 0 changed)
OCL=35847
CL=35847
2009-10-16 13:31:35 -07:00

17 lines
346 B
Go

// $G $D/$F.go || echo BUG: should 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.
package main
type T struct {
children []T;
}
/*
uetli:/home/gri/go/test/bugs gri$ 6g bug210.go
bug210.go:10: invalid recursive type []T
*/