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
9615542d
Commit
9615542d
authored
Jun 17, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added another bug test ('len' shouldn't be a keyword)
SVN=123225
parent
e5373f27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
bug053.go
test/bugs/bug053.go
+11
-0
golden.out
test/golden.out
+4
-0
No files found.
test/bugs/bug053.go
0 → 100644
View file @
9615542d
// $G $D/$F.go && $L $F.$A && ./$A.out
// 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
func
main
()
{
var
len
int
;
// len should not be a keyword - this doesn't compile
}
test/golden.out
View file @
9615542d
...
...
@@ -267,6 +267,10 @@ BUG: infinite loop in error reporting
=========== bugs/bug052.go
BUG: incorrect code for division
=========== bugs/bug053.go
bugs/bug053.go:6: syntax error
BUG: len should not be a keyword
=========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go
...
...
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