Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b0dcc6b9
Commit
b0dcc6b9
authored
Oct 16, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug210
R=rsc DELTA=20 (20 added, 0 deleted, 0 changed) OCL=35847 CL=35847
parent
8037e3ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
bug210.go
test/bugs/bug210.go
+16
-0
golden.out
test/golden.out
+4
-0
No files found.
test/bugs/bug210.go
0 → 100644
View file @
b0dcc6b9
// $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
*/
test/golden.out
View file @
b0dcc6b9
...
@@ -166,3 +166,7 @@ BUG: errchk: bugs/bug193.go:14: missing expected error: 'shift'
...
@@ -166,3 +166,7 @@ BUG: errchk: bugs/bug193.go:14: missing expected error: 'shift'
too many calls: 5
too many calls: 5
panic PC=xxx
panic PC=xxx
BUG: bug196
BUG: bug196
=========== bugs/bug210.go
bugs/bug210.go:10: invalid recursive type []T
BUG: should compile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment